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

3
2
3
-200
3
-200
3
2
4
6752753
-200
-200
3
2
-200
3
-200
3
2
-200
3
-200
3
2
-200
3
-200
3
2
4
5984349
6752753
-200
3
2
4
5984349
171074
6752753
-200
6752753
-200
3
2
4
5984349
171074
6752753
-200
3
2
-200
3
-200
563069
6752753
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
6752753
-200
3
2
-200
3
-200
3
2
-200
3
6744277
-200
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
563069
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
6744277
-200
-200
5469618
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
6615087
1960681
2495720
1871409
6752753
7016659
535948
5469618
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
66

JOJ Answer

3
2
4
-200
3
-200
3
2
4
6752753
-200
-200
3
2
4
5984349
6752753
-200
3
2
4
5984349
6752753
-200
3
2
4
5984349
6752753
-200
3
2
4
5984349
6752753
-200
3
2
4
5984349
171074
6752753
-200
6752753
-200
3
2
4
5984349
171074
6752753
-200
3
2
4
5984349
171074
6752753
5469618
-200
563069
6752753
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
6752753
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
-200
3
2
4
5984349
171074
563069
6011960
3712266
3870900
1871409
6752753
7016659
5469618
6744277
-200
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
563069
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
-200
3
2
4
5984349
171074
6744277
563069
6011960
3712266
3870900
1960681
1871409
6752753
7016659
535948
5469618
6744277
-200
-20