QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#880980#9765. Repetitive RoutesMaMengQiAC ✓11ms8832kbPython3107b2025-02-04 06:35:502025-02-04 06:35:52

详细

Test #1:

score: 100
Accepted
time: 11ms
memory: 8832kb

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: 11ms
memory: 8832kb

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'