QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#664897#7157. Bikes vs Carsttamx0 1ms5660kbC++14737b2024-10-21 23:13:112024-10-21 23:13:12

詳細信息

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 10
Accepted
time: 1ms
memory: 5660kb

input:

14 1000000
494185
494185 494185
494185 494185 494185
494185 494185 494185 494185
494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 49...

output:

26
0 1 536641
0 1 505815
1 2 536641
1 2 505815
2 3 536641
2 3 505815
3 4 536641
3 4 505815
4 5 536641
4 5 505815
5 6 536641
5 6 505815
6 7 536641
6 7 505815
7 8 536641
7 8 505815
8 9 536641
8 9 505815
9 10 536641
9 10 505815
10 11 536641
10 11 505815
11 12 536641
11 12 505815
12 13 536641
12 13 505815

result:

ok 

Test #2:

score: 0
Runtime Error

input:

37 1000000
891050
891050 891050
891050 891050 891050
891050 891050 891050 891050
891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 89...

output:


result:


Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Runtime Error

Test #16:

score: 17
Accepted
time: 0ms
memory: 3792kb

input:

14 1000000
494185
494185 494185
494185 494185 494185
494185 494185 494185 494185
494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 494185 494185 494185
494185 494185 494185 494185 494185 49...

output:

26
0 1 536641
0 1 505815
1 2 536641
1 2 505815
2 3 536641
2 3 505815
3 4 536641
3 4 505815
4 5 536641
4 5 505815
5 6 536641
5 6 505815
6 7 536641
6 7 505815
7 8 536641
7 8 505815
8 9 536641
8 9 505815
9 10 536641
9 10 505815
10 11 536641
10 11 505815
11 12 536641
11 12 505815
12 13 536641
12 13 505815

result:

ok 

Test #17:

score: 0
Runtime Error

input:

37 1000000
891050
891050 891050
891050 891050 891050
891050 891050 891050 891050
891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 891050 891050 891050
891050 891050 891050 891050 891050 89...

output:


result:


Subtask #4:

score: 0
Runtime Error

Test #39:

score: 0
Runtime Error

input:

163 1
0
0 0
0 1 0
1 0 0 0
0 0 0 0 0
1 0 0 0 1 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 1
0 0 1 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 1
0 0 0 0 0 1 0 0 0 0 0
0 0 0 0 0 1 0 0 0 0 0 1
0 1 0 1 0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 1 1 0 0 0
0 0 0 0 0 1 0 0 0 0 0 1 1 0 0
0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 1 1 0 0 ...

output:


result:


Subtask #5:

score: 0
Skipped

Dependency #2:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%