Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

The_Bigbull's blog

By The_Bigbull, history, 20 months 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

»
20 months ago, # |
  Vote: I like it 0 Vote: I do not like it

use StringBuilder to store answer