QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#463604#3179. Cordon BleuGuanYunchangTL 100ms3872kbC++233.9kb2024-07-05 06:04:572024-07-05 06:04:59

詳細信息

Test #1:

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

input:

1 1
-324 -832
-324 -832
-324 -832

output:

0

result:

ok single line: '0'

Test #2:

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

input:

2 2
1 0
0 -1
-1 1
2 -1
0 0

output:

5

result:

ok single line: '5'

Test #3:

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

input:

1 1
597 546
-353 -842
597 546

output:

2338

result:

ok single line: '2338'

Test #4:

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

input:

1 1
-224 757
122 562
122 562

output:

1082

result:

ok single line: '1082'

Test #5:

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

input:

3 1
-941 122
-941 122
-941 122
-763 292
976 473

output:

11688

result:

ok single line: '11688'

Test #6:

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

input:

1 3
-895 -38
182 -115
182 -115
182 -115
564 -943

output:

3518

result:

ok single line: '3518'

Test #7:

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

input:

3 3
624 -328
656 -272
435 -210
-396 460
-961 -758
-741 -263
575 -316

output:

1847

result:

ok single line: '1847'

Test #8:

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

input:

3 3
-322 -245
479 -822
-653 681
461 705
480 706
554 690
543 682

output:

9016

result:

ok single line: '9016'

Test #9:

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

input:

1 1
-19 106
-407 -746
-837 935

output:

2887

result:

ok single line: '2887'

Test #10:

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

input:

1 1000
458 551
-136 -439
934 816
-424 -347
329 296
-322 -757
-668 -497
409 -928
1000 -486
-924 -233
716 50
-635 645
931 -594
-434 -678
-124 -264
316 277
-946 235
929 132
485 -639
183 -466
169 827
615 316
534 330
-901 783
-117 -503
-97 -182
-115 -460
764 -703
324 -155
-300 599
986 2
-329 -203
399 953...

output:

1639

result:

ok single line: '1639'

Test #11:

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

input:

1000 1
-129 473
135 -254
476 -458
72 -905
-510 -153
-780 116
-548 -129
-671 892
-697 64
-388 699
-480 93
244 -156
326 604
250 319
986 991
-208 525
-132 889
-657 -990
42 -632
-268 -328
991 -826
-172 211
535 359
514 -908
-381 -864
598 622
195 973
-331 -566
-353 -768
-139 857
603 -852
674 -429
700 248
...

output:

3067457

result:

ok single line: '3067457'

Test #12:

score: -100
Time Limit Exceeded

input:

1000 1000
-184 402
590 -350
-240 949
-28 -995
901 -709
228 -865
-771 861
-545 -734
643 -978
499 199
-817 358
211 877
143 -220
-568 932
-724 -357
-527 305
347 -634
286 848
184 -706
-821 -793
-907 341
-594 -626
-850 971
-969 933
191 -559
-511 894
-505 36
75 -988
749 409
800 113
-545 -771
376 -983
549 ...

output:


result: