AtCoder 110 — D: What could I have missed?

Revision en1, by duckladydinh, 2018-09-23 21:13:31

Hallo Codeforces Hackers,

could you tell me what can possibly go wrong with the following submission? I even changed all ints to long long just in case, but I cannot seem to find out why. It passed all except for test 4_hand_3, what can be in that test? My solution looks the same as that in the tutorial (though I do not know Japanese).

Submission: https://beta.atcoder.jp/contests/abc110/submissions/3261324

Thank you very much.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English duckladydinh 2018-09-23 21:13:31 487 Initial revision (published)