Please help.Reason For TLE

Правка en2, от Abhi_Sarkar1996, 2017-09-01 09:27:25

Hello guys. I was solving this problem http://mirror.codeforces.com/problemset/problem/620/C by using maps. Got TLE on test 42 here http://mirror.codeforces.com/contest/620/submission/29965143 . What I am confused about is the testcase 32 and 42 are similar so why is it giving ac on the first and TLE on the second? Any help will be much appreciated.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Abhi_Sarkar1996 2017-09-01 09:27:25 2 Tiny change: 'n/29965143.What I am ' -> 'n/29965143 . What I am '
en1 Английский Abhi_Sarkar1996 2017-09-01 09:24:15 366 Initial revision (published)