Different Results for same code (My ID is glitched)

Правка en1, от rahul_shrestha, 2023-03-24 00:58:35

Problem Link: https://codeforces.net/contest/1809/problem/B

(Recent Edu Round Problem B)

Please watch these submissions for Problem B from my id:

https://codeforces.net/contest/1809/submission/198866759 : Says TLE on Test 1

https://codeforces.net/contest/1809/submission/198864293 : Says WA on Test 2

And now watch the same solution submitted by my friend after contest:

https://codeforces.net/contest/1809/submission/198867203 : SAYS AC !

Please explain the happening !

also all I tried to hack a cout<<sqrt(n-1) solution and I failed, so please find the bug in my ID.

Submissions from rahul_shrestha for this problem is glitched.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский rahul_shrestha 2023-03-24 01:34:36 114
en1 Английский rahul_shrestha 2023-03-24 00:58:35 752 Initial revision (published)