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

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

I was solving the problem 1294E - Obtain a Permutation and got a TLE on test case 7 (Submission link: 185458543).

I submitted the same code with C++14 185458671 and C++17 185458742 and both passed under 100ms, can someone explain what is happening?

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

»
18 месяцев назад, # |
Rev. 2   Проголосовать: нравится +13 Проголосовать: не нравится

This is a frequent blog on codeforces which always gets -ve voting :(

My -20 voted blog: https://codeforces.com/blog/entry/106243

This may be helpful (+214): https://codeforces.com/blog/entry/91474