Блог пользователя arya5691

Автор arya5691, 12 лет назад, По-английски

Hi,

I coded the following solution to Problem H of Round #145 Div 2 — Merging 2 Decks :

Solution Link : http://codeforces.net/contest/234/submission/2418169

Problem Link : http://codeforces.net/contest/234/problem/H .

When I submit this solution, I get the message "Runtime Error on Test 1". However my program runs properly for test case 1 locally, as well as on IDEONE. Does anyone have any idea what the problem could be ?

Also, I submitted a solution using a Try Catch block to catch any Runtime exception, and I am printing the Stack Trace to STDOUT.

( Link : http://codeforces.net/contest/234/submission/2418290 )

However, now I simply get Wrong Answer on Test Case 1 and I can't see what exactly my program is outputting :( Does anyone know any workaround to figure out exactly what's wrong ?

Any feedback would be much appreciated! Thank you :)

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

»
12 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

input input.txt

output output.txt