Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×

Rahul3006's blog

By Rahul3006, history, 18 months ago, In English

Problem Link

using vector to solve the problem lands me to TLE but the same logic used by the array got accepted. WHY?

SOLN (by vector): (https://codeforces.com/problemset/submission/1747/184215576). SOLN (by array): (https://codeforces.com/problemset/submission/1747/184217645)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it