Code giving tle but running efficiently on pc.

Revision en1, by devanshsaxena16, 2019-05-22 09:56:51

So I made submission of problem https://mirror.codeforces.com/problemset/problem/154/B having submission 54472940 but giving tle on test case 1 while running efficiently and giving correct answer in codeblocks in my pc. Please help if there is any error in my code.

Tags #math, #number theory, 1700

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English devanshsaxena16 2019-05-22 09:56:51 317 Initial revision (published)