Computer Engineering · Sharif University

I solve hard problems.
I teach others to do the same.

I’m Ali Safary — a competitive programmer, educator, and software engineer working where algorithms, systems, and ambitious people meet.

Explore
IOI medalist
ICPC regional champion
16IOI gold & silver medals earned by students
18.01GPA · out of 20

01 / Highlights

Built on competition.
Multiplied through teaching.

From the world stage to the classroom, I care about rigorous thinking, clean execution, and helping strong teams become exceptional ones.

Competitive programming2019—2025

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.

Teaching impactSince 2019

16 medals

Training the next generation.

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.

Problem solvingCodeforces

Top 0.05%

Legendary Grandmaster.

Ranked 70th worldwide when the source CV was updated in November 2025.

View profile

02 / Experience

Code, contests,
and classrooms.

My work connects the craft of engineering with the discipline of competition and the leverage of education.

toPresent

Informatics Olympiad

Teacher

Tehran, Iran

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.

  • Algorithms
  • Mentorship
  • IOI preparation
toPresent

Informatics Olympiad

Tutor

Tehran, Iran

Mentoring students who achieved 2 IOI silver medals, 1 IOI bronze medal, and 5 Iranian National Olympiad in Informatics gold medals.

  • Tutoring
  • Olympiad strategy
  • Student development
toPresent

Competitive Programming Contests

Contest Designer

Iran

Designing problems for INOI medal and team selection contests, the Tabriz University ICPC bootcamp, and the ICPC Asia Tehran online contest.

  • Problem setting
  • Editorials
  • ICPC
toPresent

Sharif University of Technology

Teaching Assistant

Tehran, Iran

Supporting courses in algorithms, data structures, programming, discrete structures, and theory of machines and languages across multiple semesters.

  • Algorithms
  • Data structures
  • Discrete math
to

Quera

Contest Coordinator

Tehran, Iran

Prepared algorithmic programming contests, including the international Technology Olympiad selection and final rounds.

  • Contest operations
  • Algorithms
  • Selection rounds
to

International Olympiad in Informatics

Deputy Leader, Iranian Team

Alexandria, Egypt

Helped lead the team to 9th place overall, with one gold, two silver, and one bronze medal.

  • Team leadership
  • IOI 2024
to

Rahnema College

Full-Stack Intern

Tehran, Iran

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.

  • Node.js
  • React Native
  • Mobile

03 / Selected projects

Ideas made
executable.

A compiler, strategy games, and a Persian graph theory book — projects that turn abstract concepts into useful, working artifacts.

04 / Toolkit

Broad stack.
Deep fundamentals.

The tools change. The core habits — decomposition, precision, testing, and clear communication — stay useful.

01

Languages

C / C++

Python

Java

JavaScript

02

AI / ML

PyTorch

Keras

NumPy & Pandas

scikit-learn

03

Web

Django

React

Spring Boot

Node.js

04

Systems & data

PostgreSQL

MongoDB

Docker & Linux

Git, CMake, GDB, LaTeX

Education

Bachelor, Computer Engineering

— Present

Sharif University of Technology · Tehran, Iran

18.01/ 20.00 GPA

Résumé snapshot updated November 25, 2025.

Selected coursework

  • Massive Data Algorithms20.0
  • Machine Learning20.0
  • Game Theory20.0
  • Data Structures & Algorithms20.0
  • Theory of Machines & Languages20.0
  • Graph Theory19.5
  • Design of Algorithms20.0
  • Discrete Structures20.0

05 / Awards ledger

The scoreboard.

Selected milestones across international Olympiads, ICPC, and algorithmic competition.

  1. 2025ICPC World Finals

    Asia-West Champion · 16th worldwide

  2. 2024ICPC World Finals

    Asia-West Champion · 23rd worldwide

  3. 2022—2024ICPC Asia Tehran Regional

    Champion · three consecutive editions

  4. 2022Codecup

    Algorithm Track Winner

  5. 2021International Olympiad in Informatics

    Silver Medal

  6. 2020International Olympiad in Informatics

    Gold Medal

  7. 2019—2020Iranian Olympiad in Informatics

    Gold Medal · two editions

06 / Contact

Have a difficult problem?

Good. Those are usually the interesting ones.