Record Case Detail

Notes

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

Stderr

GENERATE<3> 0 0 0  1; 0 0 0  2; -1 2 0  3; 1 -1 0  4; 
FINDMAX 2
ERASE<3> 9373846 3315339 9063144 
ERASE<3> 6579895 8554912 7179395 
FINDMAX 1
ERASE<3> 1633012 6855949 2719061 
INCREASE
INCREASE
INCREASE
FIND<3> 3902774 5890823 4819987 
INSERT<3> 8711305 1787677 7783001     7867441
FIND<3> 203489 3130408 9465933 
FINDMAX 2
INSERT<3> 429382 2641776 287583     708824
FINDMIN 1
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
FIND<3> 8590700 5356649 9512686 
INSERT<3> 6898562 2263958 2909466     7713371
INSERT<3> 8036641 6353191 8079111     2594475
INSERT<3> -100 -100 -100     -200
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
FIND<3> 3739730 2308279 4306719 
FIND<3> 2514738 5212939 8698171 
INSERT<3> 1167306 2463501 5602937     4424144
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE
INSERT<3> 8499255 5217918 1963198     507644
FINDMIN 0
ERASE<3> 3286669 229191 2103118 
ERASE<3> 4933481 4364766 4406132 
FINDMIN 1
FINDMIN 0
INCREASE
INCREASE
INCREASE
INCREASE
INCREASE

Hints

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

However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

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

Your Answer

2
3
3
2
4
7867441
4
3
2
4
708824
7867441
3
2
4
708824
7713371
7867441
2594475
-200
3
2
4
708824
7713371
4424144
7867441
2594475
-200
-200
-200
-200
3
2
4
708824
7713371
507644
4424144
7867441
2594475
2594475
-200
3
2
4
708824
2461619
7713371
9982645
507644
4424144
7867441
2594475
-200
-200
3
2
4
708824
2461619
7713371
9982645
507644
4424144
7867441
2594475
9982645
9982645
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
9982645
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
-200
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
-200
9982645
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
9982645
2594475
9982645
-200
3
2
4
708824
2461619
5379087
7713371
3472282
9982645

JOJ Answer

4
3
3
2
4
7867441
4
3
2
4
708824
7867441
3
2
4
708824
7713371
7867441
2594475
-200
3
2
4
708824
7713371
4424144
7867441
2594475
-200
-200
-200
-200
3
2
4
708824
7713371
507644
4424144
7867441
2594475
2594475
-200
3
2
4
708824
2461619
7713371
9982645
507644
4424144
7867441
2594475
-200
-200
3
2
4
708824
2461619
7713371
9982645
507644
4424144
7867441
2594475
9982645
9982645
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
7867441
2594475
9982645
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
-200
-200
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
-200
9982645
-200
3
2
4
708824
2461619
7713371
3472282
9982645
507644
4424144
774457
7867441
2594475
-200
9982645
2594475
9982645
-200
3
2
4
708824
2461619
5379087
7713371
3472282
9982645