Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

4
4
3
3
2
4
3
2
4
-200
3
2
4
-200
-200
3
2
4
9119328
6062281
8835322
4987389
-200
3
2
4
9119328
6062281
8835322
4987389
-200
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
5434597
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
5434597
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
-200
-200
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
8119592
6062281
3368718
1342310
5434597
4987389
8703452
3368718
-200
-200
3368718
-200
-200
-200
3368718
-200
3
2
4
9119328
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
-200
3
2
4
9119328
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
-200
3368718
-200
3
2
4
9119328
7600790
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
3368718
5721613

JOJ Answer

4
4
3
3
2
4
3
2
4
-200
3
2
4
-200
-200
3
2
4
9119328
6062281
8835322
4987389
-200
3
2
4
9119328
6062281
8835322
4987389
-200
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
5434597
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
5434597
-200
3
2
4
9119328
6062281
8835322
5434597
4987389
-200
-200
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
6062281
3368718
1342310
5434597
4987389
8703452
-200
3
2
4
9119328
6894609
8119592
6062281
3368718
1342310
5434597
4987389
8703452
3368718
-200
-200
3368718
-200
-200
-200
3368718
-200
3
2
4
9119328
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
-200
3
2
4
9119328
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
-200
3368718
-200
3
2
4
9119328
7600790
6894609
1065448
8119592
6062281
3368718
1342310
5434597
4987389
351257
8703452
5721613
3368718
5721613