optimize TLE

Правка en1, от solver11, 2020-03-04 11:18:35

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 also how can we input long doubles with scanf ...thanks

Теги #question, #optimization

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский solver11 2020-03-04 11:22:11 22 Tiny change: 'mizations also how ' -> 'mizations that make them faster also how '
en1 Английский solver11 2020-03-04 11:18:35 393 Initial revision (published)