Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

CP_Sucks's blog

By CP_Sucks, history, 2 months ago, In English

Problem : https://cses.fi/problemset/task/1674/

Code 1 : https://hastebin.com/dahepocuke.java

Code 2 : https://hastebin.com/ayomexiwez.java

Both code give TLE on 1 large testcase , any optimisation to AC ?

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
2 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it