QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#833841#9765. Repetitive Routesxiaowuc1AC ✓0ms3560kbC++173.9kb2024-12-27 03:51:202024-12-27 03:51:21

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3496kb

input:

4
1 1
2 2
2 3
3 2
4 1
4 2
1 3
3 4

output:

5

result:

ok single line: '5'

Test #2:

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

input:

4
1 1
2 1
3 1
4 1
4 1
3 1
2 1
1 1

output:

16

result:

ok single line: '16'