World-class
Gold at IOI. Champion in Asia-West.
Gold medalist at IOI 2020, silver medalist at IOI 2021, and part of consecutive Asia-West champion teams at the 2024 and 2025 ICPC World Finals.
Computer Engineering · Sharif University
I’m Ali Safary — a competitive programmer, educator, and software engineer working where algorithms, systems, and ambitious people meet.
01 / Highlights
From the world stage to the classroom, I care about rigorous thinking, clean execution, and helping strong teams become exceptional ones.
World-class
Gold medalist at IOI 2020, silver medalist at IOI 2021, and part of consecutive Asia-West champion teams at the 2024 and 2025 ICPC World Finals.
16 medals
Students I taught earned 7 IOI gold and 9 IOI silver medals. As a tutor, I also mentored students to 2 IOI silver, 1 IOI bronze, and 5 INOI gold medals.
Top 0.05%
Ranked 70th worldwide when the source CV was updated in November 2025.
View profile02 / Experience
My work connects the craft of engineering with the discipline of competition and the leverage of education.
Informatics Olympiad
Teaching national-team preparation and gold-medalist camps at Allameh Helli 1, Farzanegan 1, Allameh Tabatabaei, and Alborz high schools. Students I trained earned 7 IOI gold and 9 IOI silver medals.
Informatics Olympiad
Mentoring students who achieved 2 IOI silver medals, 1 IOI bronze medal, and 5 Iranian National Olympiad in Informatics gold medals.
Competitive Programming Contests
Designing problems for INOI medal and team selection contests, the Tabriz University ICPC bootcamp, and the ICPC Asia Tehran online contest.
Sharif University of Technology
Supporting courses in algorithms, data structures, programming, discrete structures, and theory of machines and languages across multiple semesters.
Quera
Prepared algorithmic programming contests, including the international Technology Olympiad selection and final rounds.
International Olympiad in Informatics
Helped lead the team to 9th place overall, with one gold, two silver, and one bronze medal.
Rahnema College
Built core features for an Android social app with a location-based feed, using Node.js and React Native in a six-person technical team.
03 / Selected projects
A compiler, strategy games, and a Persian graph theory book — projects that turn abstract concepts into useful, working artifacts.
2023 · C++
A compiler for a minimal subset of C++, including calling-convention handling, scanning, and lexical analysis.
2021 · C / SDL2
A graphical strategy game in C and SDL2, using Voronoi diagrams for random map generation.
2021 · C / C++
A graph theory book in Persian for Olympiad students, paired with reference implementations.
2022 · Java / JavaFX
A graphical strategy game in Java and JavaFX, with networking features implemented through socket programming.
04 / Toolkit
The tools change. The core habits — decomposition, precision, testing, and clear communication — stay useful.
C / C++
Python
Java
JavaScript
PyTorch
Keras
NumPy & Pandas
scikit-learn
Django
React
Spring Boot
Node.js
PostgreSQL
MongoDB
Docker & Linux
Git, CMake, GDB, LaTeX
Education
Sharif University of Technology · Tehran, Iran
Résumé snapshot updated November 25, 2025.
Selected coursework
05 / Awards ledger
Selected milestones across international Olympiads, ICPC, and algorithmic competition.
Asia-West Champion · 16th worldwide
Asia-West Champion · 23rd worldwide
Champion · three consecutive editions
Algorithm Track Winner
Silver Medal
Gold Medal
Gold Medal · two editions
06 / Contact
Good. Those are usually the interesting ones.