QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#137308#6776. Gardenlarryzhong0 531ms198988kbC++171.5kb2023-08-10 10:12:472023-08-10 10:12:48

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 15
Accepted
time: 74ms
memory: 34044kb

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: 46ms
memory: 7292kb

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: 531ms
memory: 198976kb

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: -15
Wrong Answer
time: 461ms
memory: 198988kb

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:

6162240

result:

wrong answer 1st lines differ - expected: '5571104', found: '6162240'

Subtask #2:

score: 0
Wrong Answer

Test #11:

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

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

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: 0ms
memory: 3536kb

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

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: -6
Wrong Answer
time: 1ms
memory: 3512kb

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:

10

result:

wrong answer 1st lines differ - expected: '9', found: '10'

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%