QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#600071#9417. Palindromic Polygonucup-team3746WA 1ms3852kbC++233.3kb2024-09-29 14:28:122024-09-29 14:28:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
8
2 4 2 4 3 4 5 3
2 3
0 6
-3 3
-3 0
-2 -3
1 -5
3 -3
4 0
3
1 2 3
0 0
1 0
0 1
3
1 1 1
0 0
1 0
0 1

output:

84
0
1

result:

ok 3 number(s): "84 0 1"

Test #2:

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

input:

1
4
1000000000 1000000000 1000000000 1000000000
-1000000000 -1000000000
1000000000 -1000000000
1000000000 1000000000
-1000000000 1000000000

output:

8000000000000000000

result:

ok 1 number(s): "8000000000000000000"

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3576kb

input:

129
10
604040473 604040473 287094217 682965575 70435786 287094217 604040473 287094217 682965575 92620053
-193 -184
-200 -200
-125 -169
-120 -157
-120 -145
-124 -139
-137 -136
-155 -149
-172 -163
-187 -177
5
346787871 346787871 113397429 113397429 346787871
-173 -181
-186 -166
-200 -195
-194 -200
-17...

output:

3945
1068
877
516
2668
3917
1165
3637
760
925
3502
708
3946
1746
2970
1826
613
2221
1130
4762
1900
1646
564
273
3203
6572
1070
3330
1264
799
142
3038
1843
9445
2122
320
1954
2561
1476
605
2107
5795
5458
2446
3929
2249
4378
5267
2356
1473
3152
1574
2014
1609
3367
2298
1459
2663
2617
2336
4048
215
578...

result:

wrong answer 1st numbers differ - expected: '3857', found: '3945'