Barakat.'s blog

By Barakat., history, 3 months ago, In English

Hello Codeforces!

I was recently looking at some profiles and stumbled upon what seems like a neat hidden UI feature in the rating graph that I haven't seen mentioned before.

Try this out:

  1. Go to any user's profile.
  2. Click on the left side of their rating graph.
  3. Scroll down using your mouse wheel.

Instead of zooming the whole graph evenly, it stretches the graph from the left side, letting you zoom in on older contests while the right side (the current rating) stays perfectly anchored in place. It's actually a really nice way to inspect past progress without losing sight of where the rating is right now.

I’ve attached a video below demonstrating exactly how it works.

Did anyone else know about this? Are there any other hidden UI tricks on Codeforces that I’ve been missing out on?

Full text and comments »

  • Vote: I like it
  • +50
  • Vote: I do not like it

By Barakat., history, 17 months ago, In English

Hello Codeforces,
Just got TLE on 2116C - Гелифиш и пылающий пион 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!

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it