QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#410630#2304. 线图hyforces#20 1522ms200176kbC++201.7kb2024-05-14 10:38:212024-05-14 10:38:22

详细

Test #1:

score: 10
Accepted
time: 54ms
memory: 102360kb

input:

4918 2
4804 4622
4907 4622
4458 4622
452 594
2547 3610
4120 4622
1141 3226
4681 4560
574 3512
606 4611
4622 2254
4181 3259
2903 4622
3507 4622
3932 3767
4834 4681
3909 2187
844 4681
4487 4357
392 2187
4622 3062
4897 3339
2350 4622
276 607
167 574
1859 4622
3785 3034
4587 4622
4622 123
332 3329
1476 ...

output:

2054279

result:

ok single line: '2054279'

Test #2:

score: 10
Accepted
time: 298ms
memory: 200096kb

input:

4967 3
406 1366
4429 2593
2361 1784
2216 4222
4605 2849
513 2593
4957 2593
3181 851
3133 2593
1272 2593
677 4007
2382 2593
2593 466
236 521
2593 4721
2393 167
2593 3570
4559 3293
1417 4619
2650 2593
2743 3703
1438 3971
1680 2593
2593 1655
4887 3520
2626 2593
3944 3192
1445 1116
2593 3464
4756 3971
6...

output:

19363085

result:

ok single line: '19363085'

Test #3:

score: 0
Wrong Answer
time: 504ms
memory: 200100kb

input:

4938 4
3583 3442
2667 3583
4900 2643
1987 3583
4631 1482
3583 177
4804 3583
3583 1703
868 1435
3583 4642
3583 2172
3583 1525
498 880
1741 3583
2656 2016
3006 3583
3583 1783
798 2572
3478 3632
3583 334
1401 378
2844 3583
2226 832
845 3583
380 3095
3583 3546
2671 2101
3583 4854
3583 2957
3583 4547
300...

output:

645937098

result:

wrong answer 1st lines differ - expected: '281658722', found: '645937098'

Test #4:

score: 0
Wrong Answer
time: 671ms
memory: 200080kb

input:

4904 5
3998 3631
1408 3998
2117 1419
4318 4446
1730 3737
2117 3516
3998 94
927 1361
3331 887
727 3998
3998 3392
3215 3305
3471 624
1568 3998
3976 1725
4171 2831
3998 4156
4681 4446
2045 3381
1962 3821
903 3603
68 4567
2370 4302
3998 4762
2779 496
1013 3998
3998 4310
829 1482
4520 3917
4759 4446
3737...

output:

975349708

result:

wrong answer 1st lines differ - expected: '461731477', found: '975349708'

Test #5:

score: 0
Wrong Answer
time: 695ms
memory: 200164kb

input:

4946 5
1847 3628
192 3812
3323 3693
3378 4431
4204 2047
2356 3546
2821 3081
3812 3968
936 1973
1865 583
1708 3368
1227 3654
1877 583
583 2896
1197 3323
2976 2569
4065 149
4560 583
583 1327
92 2740
927 583
4091 583
583 2557
508 2877
4703 4500
3077 948
434 583
4165 4596
1871 583
1450 583
583 588
3413 ...

output:

825521399

result:

wrong answer 1st lines differ - expected: '832188398', found: '825521399'

Test #6:

score: 0
Wrong Answer
time: 889ms
memory: 200176kb

input:

4944 6
4899 1585
2839 667
3425 2
1073 3447
1301 4647
567 2228
555 71
2472 1763
3164 3142
1248 1758
4647 442
706 1290
3425 3240
3183 2774
3434 1
52 3425
3356 2615
2464 3356
917 3705
4698 4647
1014 3991
2806 164
2358 2682
1236 1201
4896 4647
1616 4369
4647 3395
4647 2894
4647 2504
3356 1809
3164 4859
...

output:

78649623

result:

wrong answer 1st lines differ - expected: '676652490', found: '78649623'

Test #7:

score: 0
Wrong Answer
time: 1095ms
memory: 200152kb

input:

4910 7
2075 2466
2075 3254
3063 16
485 4235
348 2075
2477 1724
724 68
2075 1649
2075 2004
2255 970
4370 616
13 2075
2075 4551
4217 4601
2075 1503
3511 3140
3889 4354
2075 3223
3150 4430
609 4684
1248 2075
3873 3100
4601 1764
2075 4635
2075 738
1712 2075
3063 892
4441 2075
2621 2075
2075 795
3312 249...

output:

817711775

result:

wrong answer 1st lines differ - expected: '473253284', found: '817711775'

Test #8:

score: 0
Wrong Answer
time: 1342ms
memory: 200100kb

input:

4956 8
192 694
1016 2932
1838 2468
3170 694
1838 745
1547 4881
1322 2227
3337 4005
2480 625
1838 1852
694 1373
3930 3307
202 2069
4483 1420
3148 694
694 1940
694 2928
1422 3164
4066 4766
742 694
2373 19
1549 694
3955 2345
4066 4038
2332 694
3955 1626
3944 1077
691 694
2758 694
4559 4066
4786 3367
45...

output:

498680197

result:

wrong answer 1st lines differ - expected: '974515389', found: '498680197'

Test #9:

score: 0
Wrong Answer
time: 1513ms
memory: 200108kb

input:

4910 9
1193 3965
3965 4347
3965 146
3940 294
926 3654
1923 1054
4498 157
2166 3965
3965 2622
2612 3965
3965 2004
1906 3878
3380 4578
1089 33
3965 3300
3965 2407
3257 462
4055 2181
1435 3199
3965 985
4145 263
2092 3275
3965 1351
386 3965
3965 4436
3965 2441
4220 3965
3726 346
4004 4718
3965 4722
1180...

output:

281536189

result:

wrong answer 1st lines differ - expected: '840073763', found: '281536189'

Test #10:

score: 0
Wrong Answer
time: 1522ms
memory: 200100kb

input:

4988 9
2281 603
4913 3159
4428 3004
2535 2034
3556 3111
4469 878
686 3111
3111 3990
3187 768
2326 2700
699 3111
1520 1721
2203 613
2482 816
1444 3240
3111 3327
2771 3111
2478 3111
1920 1440
4186 4795
116 1734
267 3111
390 2017
259 687
67 3726
3892 976
3111 772
3004 648
3111 4617
3686 1889
2296 4255
...

output:

667248063

result:

wrong answer 1st lines differ - expected: '879764255', found: '667248063'