QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#752646#9765. Repetitive RoutesI_be_wannaAC ✓0ms3640kbC++20175b2024-11-16 09:01:442024-11-16 09:01:44

详细

Test #1:

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

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

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'