QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#610025#9417. Palindromic PolygonHuangHanShengWA 1ms3808kbC++232.5kb2024-10-04 14:44:402024-10-04 14:44:41

详细

Test #1:

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

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: 3808kb

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: 3560kb

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:

3857
1068
877
516
2819
3559
1165
3542
560
925
3502
12
3653
1432
3238
3536
202
1682
1083
4671
2768
1646
564
273
3151
6572
1070
3122
438
765
142
3038
1841
9445
6885
322
1741
2561
1145
480
2094
5119
5214
1590
5217
2249
4378
4927
3861
1473
2944
1835
1990
2068
2402
2298
2290
2663
2617
2677
4835
141
246
1...

result:

wrong answer 5th numbers differ - expected: '2668', found: '2819'