QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#589994#30. Political DevelopmentNova_NightWind03110 3ms8048kbC++201.5kb2024-09-25 20:57:272024-09-25 20:57:27

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 4
Accepted
time: 0ms
memory: 6472kb

input:

8 2
1 2
3 7 3 5
2 7 0
1 1
1 7
1 1
1 7
4 6 4 1 2

output:

2

result:

ok single line: '2'

Test #2:

score: 4
Accepted
time: 0ms
memory: 6184kb

input:

8 2
2 3 7
1 3
2 6 4
3 5 1 0
1 2
2 3 6
2 5 2
1 0

output:

2

result:

ok single line: '2'

Test #3:

score: 4
Accepted
time: 3ms
memory: 6948kb

input:

5000 2
1 1791
1 4343
2 2031 1630
1 286
2 4788 1978
3 847 2364 4193
2 88 1614
1 3321
1 1441
1 1098
1 1547
1 318
1 4939
1 697
3 1335 3973 2092
1 3700
1 3959
1 4582
2 2907 3324
1 364
1 4868
1 1406
4 1827 3291 2215 4513
2 1303 2448
3 3699 2272 775
4 3113 1333 2670 1991
2 2450 3615
4 3825 2008 1100 2938
...

output:

2

result:

ok single line: '2'

Test #4:

score: 4
Accepted
time: 3ms
memory: 8048kb

input:

5000 2
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460
1 1460...

output:

2

result:

ok single line: '2'

Test #5:

score: 4
Accepted
time: 3ms
memory: 7036kb

input:

5000 2
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782
1 1782...

output:

2

result:

ok single line: '2'

Test #6:

score: 4
Accepted
time: 3ms
memory: 7952kb

input:

5000 2
1 1692
1 3670
1 3770
1 2722
1 2554
1 4972
1 3203
1 1406
1 62
1 2411
1 4472
1 3565
1 1465
1 4734
1 3229
1 707
1 4925
1 597
1 3764
1 1406
1 778
1 2086
1 1696
1 2956
1 707
1 1406
1 3604
1 597
1 1275
1 3203
1 707
1 4577
1 997
1 3604
1 1747
1 860
1 3565
1 3693
1 164
1 818
1 3693
1 4790
1 86
1 3969...

output:

2

result:

ok single line: '2'

Test #7:

score: 4
Accepted
time: 3ms
memory: 7224kb

input:

5000 2
1 1495
1 4736
1 2861
72 2890 4002 3751 2434 4908 3707 1698 4275 2507 2625 1942 1452 1309 2552 4 3667 4794 289 309 3334 2996 3208 1001 2408 707 3200 4272 3343 4465 4748 1352 48 2894 4367 3534 4594 4433 4265 3168 2324 2681 4909 1986 501 2958 784 4138 409 2837 4999 3840 3654 327 3620 4399 319 33...

output:

2

result:

ok single line: '2'

Test #8:

score: 0
Wrong Answer
time: 1ms
memory: 6372kb

input:

5000 2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

0

result:

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

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #44:

score: 0
Wrong Answer
time: 0ms
memory: 6172kb

input:

5000 4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

0

result:

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

Subtask #4:

score: 0
Skipped

Dependency #2:

0%

Subtask #5:

score: 0
Skipped

Dependency #2:

0%