QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481275#6776. Gardenegypt_ioi2024_010 469ms4480kbC++232.0kb2024-07-16 22:34:252024-07-16 22:34:25

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 15
Accepted
time: 141ms
memory: 3804kb

input:

499986 5 1979
299 1572
1897 274
119 291
206 1287
816 937
1922 1376
1676 57
1106 1706
1534 176
678 606
722 473
399 727
1682 1736
221 506
1413 1857
523 1730
1699 346
1056 1287
801 1017
314 1938
1872 189
1750 581
1846 1937
37 1840
1760 725
1465 1222
678 1203
1422 1930
1273 195
730 1930
232 1666
860 352...

output:

3900625

result:

ok single line: '3900625'

Test #2:

score: 0
Accepted
time: 123ms
memory: 3940kb

input:

499995 5 730
281 471
721 96
170 272
253 96
558 272
422 619
565 471
591 518
283 471
393 471
38 96
324 471
537 96
589 518
92 518
247 272
557 471
610 518
166 96
472 619
674 619
665 518
647 619
286 471
563 96
328 619
586 619
728 272
537 619
37 518
333 518
339 471
666 272
144 96
693 96
690 518
432 518
61...

output:

379900

result:

ok single line: '379900'

Test #3:

score: 0
Accepted
time: 466ms
memory: 4132kb

input:

499991 8 5000
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4082
4150 4...

output:

3527

result:

ok single line: '3527'

Test #4:

score: 0
Accepted
time: 407ms
memory: 4480kb

input:

499987 8 5000
1018 2994
1018 1427
1018 1427
3153 1767
3153 1767
628 2994
1018 2994
628 2994
3153 1767
1018 1427
628 1427
3153 1427
1018 1427
628 2994
3153 1427
3153 1427
628 1767
628 1427
3153 1427
628 1427
628 1767
3153 1427
3153 1427
1018 1767
628 1767
628 1427
628 1427
3153 1767
3153 1767
3153 14...

output:

5571104

result:

ok single line: '5571104'

Test #5:

score: 0
Accepted
time: 469ms
memory: 4132kb

input:

499989 8 5000
3239 2114
3239 2114
4705 2114
4705 3179
4705 2844
4316 2844
60 1374
4705 3179
587 4174
587 2844
60 3179
587 4174
60 3179
4316 2114
587 2844
4316 4174
3239 3179
587 2844
4316 1374
60 2844
587 3179
3239 2114
4705 2114
4705 3179
587 2114
4705 1374
4705 4174
60 1374
587 2114
587 3179
587 3...

output:

7058520

result:

ok single line: '7058520'

Test #6:

score: 0
Accepted
time: 461ms
memory: 4212kb

input:

499989 8 5000
1418 3865
2676 113
2098 3865
277 2517
2674 1513
4473 3203
3375 3671
2355 4359
4473 2124
4020 3372
277 420
3373 2386
1665 3839
928 2557
783 2386
4962 3401
1965 3325
2278 2124
4820 2277
1665 227
341 4359
4131 4359
1362 4774
3387 94
2489 4313
2998 3447
4576 901
2676 1211
2674 3346
1665 21...

output:

21917250

result:

ok single line: '21917250'

Test #7:

score: 0
Accepted
time: 460ms
memory: 4448kb

input:

499988 8 5000
706 4465
3063 2986
569 343
569 3140
2101 1600
32 1544
2051 2518
3094 325
706 272
4372 4717
1333 1072
667 347
4372 3274
404 2518
2008 4825
4521 2667
3500 4920
3596 1398
3596 2962
404 59
3867 206
3867 2436
3581 2591
2241 1072
3005 4083
2692 1995
2301 3954
827 1570
3516 2337
3516 4083
123...

output:

21918420

result:

ok single line: '21918420'

Test #8:

score: 0
Accepted
time: 137ms
memory: 4128kb

input:

499988 8 5000
2062 4632
2414 4549
2813 1172
2465 3485
3056 1310
4361 2346
4376 3333
1218 4524
2698 2849
3717 2022
3699 1565
1215 3660
4926 4859
1680 3419
4587 1224
723 3352
2518 4253
1190 558
4765 649
561 1614
432 3787
3317 3046
1487 3220
3980 2703
2421 3714
2913 111
4874 4205
3219 4087
2398 3596
37...

output:

24990001

result:

ok single line: '24990001'

Test #9:

score: -15
Wrong Answer
time: 138ms
memory: 4168kb

input:

499987 8 5000
4709 2965
1888 4565
3998 344
2313 4909
2445 1979
3153 3191
3604 255
4958 1434
4016 1979
1648 2839
4697 4806
2477 2419
113 755
2123 2401
4045 465
3569 3449
2371 4028
4139 2516
4419 12
1662 1981
2387 3724
2184 4310
3735 1424
3221 3957
1085 193
2753 4339
2356 4988
3872 25
2641 179
822 462...

output:

1000000000

result:

wrong answer 1st lines differ - expected: '25000000', found: '1000000000'

Subtask #2:

score: 0
Wrong Answer

Test #11:

score: 6
Accepted
time: 1ms
memory: 3600kb

input:

4835 162 4
0 3
0 2
2 0
0 0
2 3
2 3
2 1
2 0
2 2
2 0
0 1
2 2
2 0
0 0
2 2
0 1
0 1
2 1
0 1
0 2
0 0
2 3
2 2
0 0
2 0
0 3
0 3
2 0
0 1
2 1
2 1
2 2
2 2
0 0
2 2
2 0
0 2
0 0
2 2
0 1
2 2
2 1
0 3
0 0
0 1
0 3
0 3
0 3
0 2
2 1
2 2
0 2
0 2
2 3
2 2
2 1
2 3
0 3
2 0
2 2
2 0
2 2
0 0
0 0
2 3
2 0
0 2
0 1
0 0
2 2
0 1
2 1
2...

output:

12

result:

ok single line: '12'

Test #12:

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

input:

1759 3239 7
5 5
2 5
3 5
3 5
2 5
1 5
3 5
4 5
5 5
1 5
3 5
5 5
2 5
5 5
5 5
2 5
4 5
1 5
1 5
4 5
2 5
3 5
1 5
4 5
5 5
1 5
2 5
1 5
1 5
3 5
4 5
2 5
1 5
2 5
5 5
2 5
2 5
4 5
3 5
2 5
4 5
5 5
5 5
2 5
3 5
4 5
1 5
2 5
4 5
3 5
3 5
3 5
4 5
5 5
3 5
3 5
1 5
5 5
1 5
3 5
1 5
5 5
4 5
3 5
5 5
3 5
4 5
2 5
5 5
2 5
2 5
2 5
...

output:

5

result:

ok single line: '5'

Test #13:

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

input:

8 4992 10
8 3
8 3
8 3
8 3
8 3
8 3
8 3
8 3
9 0
2 9
6 2
4 5
2 5
6 9
0 0
3 4
7 6
6 8
9 1
5 6
4 7
3 8
1 9
7 8
6 7
6 4
9 5
9 5
7 2
6 4
9 5
5 2
5 0
2 9
9 1
1 8
9 7
9 8
3 4
1 2
3 5
1 1
6 8
4 5
4 2
2 9
2 9
1 0
4 8
2 9
7 2
4 5
5 7
5 8
3 6
2 1
0 6
2 8
9 5
1 6
4 2
4 7
2 1
1 9
2 5
3 8
1 4
9 6
9 2
9 8
5 1
9 7
5 ...

output:

10

result:

ok single line: '10'

Test #14:

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

input:

9 4988 10
8 1
8 1
8 1
8 1
8 1
8 1
8 1
8 1
8 1
9 4
4 9
4 0
6 7
4 2
3 9
7 5
0 9
3 9
3 8
1 9
7 9
6 4
7 5
9 4
5 4
5 7
5 4
2 6
1 6
3 8
4 0
9 4
0 7
6 5
5 4
9 8
0 3
9 7
3 6
7 9
2 5
2 8
4 6
0 3
7 9
4 2
1 0
4 0
1 8
0 7
5 8
6 9
7 5
5 7
5 0
3 3
1 8
9 7
2 3
0 3
1 7
6 7
4 2
5 0
1 7
9 3
3 3
4 9
7 9
0 7
7 5
7 8
7 ...

output:

10

result:

ok single line: '10'

Test #15:

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

input:

7 4991 10
2 4
2 4
2 4
2 4
2 4
2 4
2 4
5 0
4 7
8 9
0 1
5 0
9 5
8 9
1 2
4 7
1 2
6 8
6 8
7 7
7 7
3 5
8 9
7 7
9 5
4 7
0 1
0 1
5 0
5 0
4 7
4 7
5 0
0 1
1 2
7 7
5 0
3 5
3 5
8 9
8 9
9 5
7 7
5 0
0 1
5 0
8 9
9 5
8 9
9 5
8 9
9 5
5 0
6 8
4 7
6 8
3 5
0 1
0 1
6 8
5 0
4 7
3 5
3 5
5 0
3 5
1 2
5 0
7 7
8 9
7 7
1 2
6 ...

output:

9

result:

ok single line: '9'

Test #16:

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

input:

13 4984 10
7 0
4 5
4 0
4 0
6 5
6 5
6 8
7 5
4 0
7 8
4 5
7 8
6 5
1 1
1 1
9 7
0 7
5 9
8 6
8 4
1 1
5 4
0 4
1 6
2 7
2 2
8 1
1 7
0 4
3 7
0 9
5 6
9 7
2 9
5 1
3 1
0 6
2 1
5 1
2 3
2 1
5 1
1 9
9 2
9 9
3 9
8 4
3 3
0 7
2 6
5 7
9 2
2 6
0 9
2 2
2 1
2 7
9 4
0 3
2 2
2 3
2 4
9 6
5 3
9 3
5 7
8 2
5 7
9 3
2 1
3 2
0 7
3...

output:

40

result:

ok single line: '40'

Test #17:

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

input:

5 4990 10
0 4
7 7
2 8
3 9
6 3
1 2
4 5
5 5
9 2
5 5
8 0
8 2
5 5
9 2
4 6
5 2
5 0
8 1
9 5
4 2
8 1
1 2
9 2
5 6
4 2
4 6
1 0
8 2
9 2
1 6
5 1
5 5
4 1
1 1
4 0
5 5
1 6
1 1
8 6
1 2
4 0
8 1
8 2
9 2
8 5
9 1
1 0
4 2
1 5
1 0
5 1
5 1
9 0
1 1
5 1
9 6
1 5
9 2
4 0
5 6
1 6
4 0
4 0
4 2
4 2
8 1
9 0
9 5
8 1
9 5
1 0
1 2
4 ...

output:

70

result:

ok single line: '70'

Test #18:

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

input:

13 4987 10
5 8
0 5
6 8
2 0
2 4
7 7
6 7
0 4
7 7
7 0
6 0
0 5
0 8
8 6
4 1
3 3
8 6
4 1
1 3
8 6
9 9
1 3
4 1
9 9
4 1
8 6
9 9
8 6
1 3
8 6
4 1
3 3
4 1
9 9
9 9
8 6
8 6
4 1
1 3
8 6
3 3
9 9
1 3
3 3
8 6
1 3
1 3
8 6
1 3
4 1
3 3
8 6
3 3
1 3
4 1
3 3
8 6
9 9
1 3
9 9
8 6
8 6
9 9
4 1
8 6
8 6
4 1
4 1
9 9
8 6
3 3
3 3
8...

output:

56

result:

ok single line: '56'

Test #19:

score: -6
Wrong Answer
time: 1ms
memory: 3616kb

input:

16 4983 10
4 8
1 3
7 6
9 1
5 7
7 2
5 2
8 0
2 4
3 8
4 8
4 4
9 9
7 8
6 7
0 5
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9 6
9...

output:

1000000000

result:

wrong answer 1st lines differ - expected: '100', found: '1000000000'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%