Блог пользователя Barakat.

Автор Barakat., история, 11 месяцев назад, По-английски

Hello Codeforces,
Just got TLE on 2116C - Gellyfish and Flaming Peony using __gcd, but after switching to gcd from <numeric>, my code got AC!

TLE Submission (using __gcd): Submission #322284306
AC Submission (using std::gcd): Submission #322321593

I couldn't find a clear reason online for this difference.
If anyone knows why this happens, please share in the comments section!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

Автор Barakat., история, 20 месяцев назад, По-английски

Hello, Codeforces Community!

I'm excited to share with you my video solution for Problem (C. Guess The Tree) from Codeforces Round 967 (Div. 2). In this video, I walk through the problem statement, discuss the thought process behind the solution, and provide a detailed step-by-step explanation of the solution.

You can watch the video solution here: Video Tutorial in Arabic

MY submission: 277407121

Feel free to leave your thoughts, questions, or suggestions in the comments below.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

Автор Barakat., история, 21 месяц назад, По-английски

Hello, Codeforces Community!

I'm excited to share with you my video solution for Problems A B C D from Educational Round 168 (Div. 2). In this video, I walk through the problem statement, discuss the thought process behind the solution, and provide a detailed step-by-step explanation of the solution.

You can watch the video solution here: Video Tutorial in Arabic

Feel free to leave your thoughts, questions, or suggestions in the comments below.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится