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

100: 0
50: 1424
20: 0
10: 0
5: 0
1: 0
Sum: 71200
SUCCESS
SUCCESS
100: 33
50: 1485
20: 63
10: 67
5: 52
1: 55
Sum: 79795
100: 2016
50: 1485
20: 2680
10: 67
5: 52
1: 55
Sum: 330435
100: 2016
50: 1485
20: 3981
10: 67
5: 52
1: 55
Sum: 356455
SUCCESS
100: 3765
50: 1510
20: 4003
10: 107
5: 1113
1: 82
Sum: 538777
100: 3765
50: 1510
20: 4003
10: 107
5: 1113
1: 82
Sum: 538777
100: 3765
50: 1510
20: 4003
10: 107
5: 1113
1: 82
Sum: 538777
SUCCESS
SUCCESS
SUCCESS
100: 3785
50: 1590
20: 4094
10: 184
5: 1188
1: 1468
Sum: 549128
SUCCESS
100: 5066
50: 3588
20: 7122
10: 209
5: 1217
1: 1487
Sum: 838102
100: 5066
50: 3588
20: 7122
10: 209
5: 1217
1: 1487
Sum: 838102
100: 5066
50: 3588
20: 7122
10: 209
5: 1217
1: 1487
Sum: 838102
SUCCESS
100: 5064
50: 4800
20: 7142
10: 234
5: 1233
1: 1508
Sum: 899253
100: 5064
50: 4800
20: 7142
10: 234
5: 1233
1: 1508
Sum: 899253
100: 5064
50: 4800
20: 7142
10: 234
5: 1233
1: 1508
Sum: 899253
SUCCESS
100: 5077
50: 4821
20: 7170
10: 255
5: 1271
1: 3264
Sum: 904319
100: 5077
50: 4821
20: 7170
10: 2

JOJ Answer

100: 0
50 : 1424
20 : 0
10 : 0
5  : 0
1  : 0
Sum: 71200
SUCCESS
SUCCESS
100: 33
50 : 1485
20 : 63
10 : 67
5  : 52
1  : 55
Sum: 79795
100: 2016
50 : 1485
20 : 2680
10 : 67
5  : 52
1  : 55
Sum: 330435
100: 2016
50 : 1485
20 : 3981
10 : 67
5  : 52
1  : 55
Sum: 356455
SUCCESS
100: 3765
50 : 1510
20 : 4003
10 : 107
5  : 1113
1  : 82
Sum: 538777
100: 3765
50 : 1510
20 : 4003
10 : 107
5  : 1113
1  : 82
Sum: 538777
100: 3765
50 : 1510
20 : 4003
10 : 107
5  : 1113
1  : 82
Sum: 538777
SUCCESS
SUCCESS
SUCCESS
100: 3785
50 : 1590
20 : 4094
10 : 184
5  : 1188
1  : 1468
Sum: 549128
SUCCESS
100: 5066
50 : 3588
20 : 7122
10 : 209
5  : 1217
1  : 1486
Sum: 838101
100: 5066
50 : 3588
20 : 7122
10 : 209
5  : 1217
1  : 1486
Sum: 838101
100: 5066
50 : 3588
20 : 7122
10 : 209
5  : 1217
1  : 1486
Sum: 838101
SUCCESS
100: 5064
50 : 4800
20 : 7142
10 : 234
5  : 1233
1  : 1507
Sum: 899252
100: 5064
50 : 4800
20 : 7142
10 : 234
5  : 1233
1  : 1507
Sum: 899252
100: 5064
50 : 4800
20 : 7142
10 : 234
5  : 1233
1  : 1507
Sum: 899252
SUCCESS