Getting TLE, help please

Правка en1, от ALT__, 2021-10-08 10:01:27

Problem Link: https://codeforces.com/contest/1417/problem/C

My solution: https://codeforces.com/contest/1417/submission/131124634

My solution is very similar (or almost same) to the editorial's solution: https://codeforces.com/blog/entry/83036 The only difference I noticed is that I'm using cin/cout instead of scanf/printf and I'm using vectors instead of arrays. Also, I'm using #define int long long.

Теги tle, help, yeet

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ALT__ 2021-10-08 10:01:27 436 Initial revision (published)