The_Bigbull's blog

By The_Bigbull, history, 7 weeks ago, In English

i have used the same logic as in c++ but got tle in my java code i have also used buffered class for faster input.plz help me out from this problem.

Problem https://codeforces.com/contest/1519/problem/C

My submission: https://codeforces.com/contest/1519/submission/167712080

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

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

use StringBuilder to store answer