Please read the new rule regarding the restriction on the use of AI tools. ×

TLE issue

Revision en1, by rhythm_991, 2020-06-18 08:55:16

In this question https://codeforces.me/contest/1367/problem/C for the same algorithm I tried 2 different approaches 1.Using function link: https://codeforces.me/contest/1367/submission/84101002 2.Without using function link: https://codeforces.me/contest/1367/submission/84126840 If I am using the function then I am getting TLE and if I'm not using the function I'm gettig AC. Why so?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English rhythm_991 2020-06-18 08:56:26 6
en1 English rhythm_991 2020-06-18 08:55:16 403 Initial revision (published)