QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#302737#2670. Arranging shoesquasar#45 52ms19720kbC++17930b2024-01-11 10:38:032024-07-04 03:17:22

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3796kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
1
-1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 4016kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
1
1 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #3:

score: 20
Accepted
time: 0ms
memory: 3764kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 -2 2 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
2

result:

ok 3 lines

Test #4:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 1 -1 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
3

result:

ok 3 lines

Test #5:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 2 -1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #6:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 -2 2 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
2

result:

ok 3 lines

Test #7:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 2 1 -2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
2

result:

ok 3 lines

Test #8:

score: 0
Accepted
time: 0ms
memory: 3760kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
2 -2 -1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #9:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
1 2 -2 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4

result:

ok 3 lines

Test #10:

score: 0
Accepted
time: 0ms
memory: 4080kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
2 -2 1 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
2

result:

ok 3 lines

Test #11:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
1 2 -2 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4

result:

ok 3 lines

Test #12:

score: -20
Wrong Answer
time: 0ms
memory: 4052kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
3
-3 -2 1 2 3 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4

result:

wrong answer 3rd lines differ - expected: '5', found: '4'

Subtask #3:

score: 20
Accepted

Test #37:

score: 20
Accepted
time: 0ms
memory: 3796kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 -2 2 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #38:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 1 -1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #39:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 1 -1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #40:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 -2 2 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #41:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 1 1 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #42:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
2 -2 -2 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #43:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
1 1 -1 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
3

result:

ok 3 lines

Test #44:

score: 0
Accepted
time: 0ms
memory: 3756kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
2 -2 2 -2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
2

result:

ok 3 lines

Test #45:

score: 0
Accepted
time: 0ms
memory: 4048kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
1 1 -1 -1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
3

result:

ok 3 lines

Test #46:

score: 0
Accepted
time: 0ms
memory: 4048kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
3
2 -2 -2 2 -2 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #47:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
8
-3 -3 -3 3 -3 -3 -3 3 3 3 3 3 3 3 -3 -3

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
15

result:

ok 3 lines

Test #48:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
11
5 5 -5 5 5 -5 -5 5 5 -5 5 -5 -5 5 -5 -5 -5 -5 5 5 -5 5

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
19

result:

ok 3 lines

Test #49:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
43
-35 -35 -35 35 35 -35 -35 -35 35 -35 35 -35 35 35 -35 35 35 -35 -35 35 35 35 -35 -35 -35 35 -35 35 -35 35 35 35 35 35 35 35 -35 35 -35 -35 -35 -35 35 35 35 35 -35 35 -35 35 35 -35 -35 -35 35 35 -35 35 -35 35 35 -35 35 35 35 35 -35 -35 -35 -35 -35 35 -35 -35 -3...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
117

result:

ok 3 lines

Test #50:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
117
50 -50 -50 -50 50 50 -50 50 -50 -50 50 50 50 50 50 -50 -50 -50 50 -50 50 -50 50 50 50 50 50 50 50 -50 50 50 50 -50 -50 -50 50 50 -50 -50 50 50 50 -50 -50 -50 -50 -50 50 -50 50 -50 -50 50 -50 50 50 50 -50 50 -50 50 50 50 50 50 -50 50 50 -50 50 50 -50 50 -50 -5...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1000

result:

ok 3 lines

Test #51:

score: 0
Accepted
time: 0ms
memory: 3824kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
304
-44 -44 44 44 44 -44 -44 44 44 44 44 -44 -44 -44 44 -44 44 44 -44 -44 44 44 44 -44 -44 -44 -44 44 -44 44 -44 44 44 -44 -44 -44 44 44 -44 44 44 44 -44 -44 44 44 44 44 44 -44 44 44 -44 -44 -44 44 -44 44 -44 44 -44 -44 -44 -44 -44 -44 -44 44 -44 -44 44 44 -44 -4...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1711

result:

ok 3 lines

Test #52:

score: 0
Accepted
time: 1ms
memory: 3884kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
999
-636 636 636 -636 636 636 -636 636 -636 636 -636 636 -636 636 -636 636 -636 636 -636 -636 -636 636 636 -636 -636 -636 636 -636 636 -636 -636 -636 -636 636 -636 -636 636 -636 636 636 -636 -636 -636 636 -636 -636 -636 -636 636 636 636 636 636 -636 -636 -636 -63...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
19586

result:

ok 3 lines

Test #53:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
1001
-498 -498 -498 -498 -498 -498 -498 -498 -498 -498 -498 498 -498 -498 -498 -498 498 -498 -498 -498 498 -498 498 498 498 498 -498 498 -498 498 -498 -498 498 -498 -498 498 -498 498 -498 -498 498 -498 498 498 498 498 -498 -498 -498 498 498 -498 -498 498 -498 -49...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
29174

result:

ok 3 lines

Test #54:

score: 0
Accepted
time: 2ms
memory: 4656kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
9998
-1466 1466 1466 1466 1466 1466 -1466 1466 1466 -1466 1466 1466 1466 1466 -1466 -1466 1466 1466 -1466 1466 -1466 -1466 1466 -1466 1466 -1466 -1466 1466 -1466 1466 -1466 -1466 -1466 -1466 1466 1466 1466 1466 -1466 -1466 -1466 -1466 -1466 -1466 -1466 1466 -1466...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
434563

result:

ok 3 lines

Test #55:

score: 0
Accepted
time: 0ms
memory: 4496kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
10003
-9391 -9391 9391 9391 -9391 -9391 -9391 9391 9391 9391 -9391 -9391 9391 -9391 9391 -9391 -9391 -9391 -9391 9391 -9391 9391 -9391 9391 -9391 -9391 9391 -9391 -9391 9391 9391 9391 9391 -9391 -9391 -9391 -9391 -9391 9391 -9391 -9391 -9391 9391 -9391 -9391 9391...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
662066

result:

ok 3 lines

Test #56:

score: 0
Accepted
time: 21ms
memory: 15176kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99999
-20650 -20650 20650 20650 -20650 -20650 -20650 20650 20650 20650 -20650 -20650 20650 20650 20650 20650 20650 20650 -20650 20650 20650 -20650 20650 20650 20650 20650 20650 -20650 20650 20650 20650 -20650 -20650 20650 20650 -20650 -20650 20650 20650 20650 206...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
9148558

result:

ok 3 lines

Test #57:

score: 0
Accepted
time: 16ms
memory: 15572kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11332 -11332 11...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #58:

score: 0
Accepted
time: 16ms
memory: 15176kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
26704 -26704 -26704 26704 26704 -26704 26704 -26704 26704 -26704 26704 -26704 26704 -26704 -26704 26704 -26704 26704 -26704 26704 -26704 26704 -26704 26704 26704 -26704 -26704 26704 -26704 -26704 -26704 -26704 26704 26704 -26704 26704 26704 -26704 26704 26...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1233583

result:

ok 3 lines

Test #59:

score: 0
Accepted
time: 14ms
memory: 14272kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1966 1...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #60:

score: 0
Accepted
time: 17ms
memory: 14708kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
59471 59471 -59471 -59471 59471 59471 59471 59471 59471 -59471 -59471 -59471 59471 59471 -59471 59471 59471 -59471 59471 -59471 59471 -59471 -59471 -59471 -59471 59471 -59471 59471 -59471 59471 59471 59471 59471 59471 59471 59471 -59471 59471 59471 -59471 ...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
7651686

result:

ok 3 lines

Test #61:

score: 0
Accepted
time: 9ms
memory: 15720kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 3091 -3091 309...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
100000

result:

ok 3 lines

Test #62:

score: 0
Accepted
time: 11ms
memory: 14108kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 2937...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #63:

score: 0
Accepted
time: 9ms
memory: 14012kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 29373 2937...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #64:

score: 0
Accepted
time: 18ms
memory: 14080kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 90155 9015...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #65:

score: 0
Accepted
time: 17ms
memory: 14892kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-50400 -50400 50400 -50400 50400 50400 50400 -50400 50400 50400 -50400 -50400 -50400 50400 -50400 -50400 50400 50400 -50400 50400 -50400 -50400 -50400 -50400 50400 -50400 50400 50400 -50400 50400 -50400 50400 50400 -50400 50400 50400 -50400 -50400 50400 50...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
8109181

result:

ok 3 lines

Test #66:

score: 0
Accepted
time: 19ms
memory: 14248kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -33541 -335...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999950000

result:

ok 3 lines

Test #67:

score: 0
Accepted
time: 18ms
memory: 14036kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8038 8...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #68:

score: 0
Accepted
time: 11ms
memory: 14152kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 13023 1302...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
5000050000

result:

ok 3 lines

Test #69:

score: 0
Accepted
time: 0ms
memory: 3792kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
1
-1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #70:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 -2 2 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #71:

score: 0
Accepted
time: 15ms
memory: 14248kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99998
-54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -54585 -5458...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999750003

result:

ok 3 lines

Test #72:

score: 0
Accepted
time: 19ms
memory: 14000kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99999
-30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -30460 -3046...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999850001

result:

ok 3 lines

Test #73:

score: 0
Accepted
time: 15ms
memory: 14176kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -45223 -452...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999950000

result:

ok 3 lines

Subtask #4:

score: 15
Accepted

Test #74:

score: 15
Accepted
time: 0ms
memory: 3772kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
1
-1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
0

result:

ok 3 lines

Test #75:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 -2 1 2

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #76:

score: 0
Accepted
time: 0ms
memory: 4004kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-2 -1 2 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #77:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
2
-1 -1 1 1

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
1

result:

ok 3 lines

Test #78:

score: 0
Accepted
time: 50ms
memory: 19720kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99998
-93375 -85998 -57472 -57320 -92144 -31526 -99604 -77181 -65443 -97629 -29716 -1904 -93293 -41761 -55949 -50927 -80082 -21357 -51929 -54 -33477 -36300 -49484 -70830 -98314 -40123 -79568 -89806 -90528 -51711 -49394 -2023 -42435 -61625 -61156 -82943 -47590 -69...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999750003

result:

ok 3 lines

Test #79:

score: 0
Accepted
time: 26ms
memory: 14748kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99998
-64484 -91038 -41308 -72712 -1564 -32642 -74991 -79372 -45318 -52023 -67151 -54049 -15705 -93770 -50858 -870 -77097 -19597 -37947 -54404 -36480 -50724 -53983 -59165 -98143 -39237 -2885 -32028 -44812 -25799 -96194 -55733 -39060 -13916 -50000 -79991 -2581 -10...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999750003

result:

ok 3 lines

Test #80:

score: 0
Accepted
time: 45ms
memory: 19628kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99999
-36895 -21252 -33272 -64005 -86598 -9597 -5512 -30508 -26724 -96513 -20778 -45208 -17858 -62202 -26096 -327 -58206 -18274 -97082 -70650 -96288 -97762 -77475 -40197 -33023 -89009 -73569 -12157 -57905 -50207 -78508 -26168 -35060 -45556 -93784 -78602 -5052 -22...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999850001

result:

ok 3 lines

Test #81:

score: 0
Accepted
time: 20ms
memory: 14256kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
99999
-36659 -36659 -36659 -62235 -62235 -91177 -91177 -91177 -36659 -36659 -91177 -36659 -36659 -36659 -36659 -91177 -36659 -91177 -62235 -62235 -36659 -36659 -36659 -91177 -62235 -91177 -62235 -62235 -62235 -36659 -91177 -36659 -36659 -36659 -91177 -62235 -3665...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999850001

result:

ok 3 lines

Test #82:

score: 0
Accepted
time: 52ms
memory: 19708kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-4281 -88522 -73487 -80899 -25596 -23936 -5985 -80611 -91620 -63357 -2064 -5363 -5917 -83932 -25745 -67340 -51599 -48609 -50123 -28748 -14761 -68746 -22980 -35585 -29712 -89969 -30212 -84883 -7751 -2359 -22767 -84996 -42365 -23762 -94042 -88836 -54106 -755...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999950000

result:

ok 3 lines

Test #83:

score: 0
Accepted
time: 31ms
memory: 16508kb

input:

08f55b3f-c300-4051-a472-59ca2a776178
100000
-82132 -5681 -82990 -92746 -50800 -22168 -28188 -80457 -35022 -36303 -88257 -92502 -8705 -42712 -42152 -43002 -73712 -86254 -26337 -27675 -16197 -24533 -39542 -29082 -28230 -91472 -50450 -72792 -26143 -17635 -56968 -42956 -60262 -77887 -73872 -72632 -56028...

output:

9ce55564-5404-428a-8d2e-0d809c85101e
OK
4999950000

result:

ok 3 lines

Subtask #5:

score: 0
Skipped

Dependency #2:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%