coffeeCoder69's blog

By coffeeCoder69, history, 3 years ago, In English

Guys My code seems to be working perfectly fine for first 2 test cases, while the third one gives TLE. When I checked the test case, they gave 500 as the number of test cases and gave only one test case as input. Is this an error on the part of codeforces, or is there any way to deal with this error?

https://codeforces.me/contest/1638/submission/146412114 this is the link to the submission. Please do let me know!

  • Vote: I like it
  • -8
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I suppose you are referring to the fact that there are 500 test cases, but you see only 3 lines as input. Thats because the input as well as output and answer are truncated. You can see 3 dots at the end (same for pretest 2).