optimize TLE

Revision en2, by solver11, 2020-03-04 11:22:11

Hi everyone I was practicing on this problem https://mirror.codeforces.com/contest/283/problem/A and i am getting a TLE but my solution works in o(1) time for each query so i figured that it is a problem in the input or output this is the submission 72396868 so can you please send some c++ input/output optimizations that make them faster also how can we input long doubles with scanf ...thanks

Tags #question, #optimization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English solver11 2020-03-04 11:22:11 22 Tiny change: 'mizations also how ' -> 'mizations that make them faster also how '
en1 English solver11 2020-03-04 11:18:35 393 Initial revision (published)