QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#882879#3226. Distance SumangletrisectionWA 3ms38508kbC++147.1kb2025-02-05 12:19:412025-02-05 12:19:41

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 38508kb

input:

10
5 1
2 1
1 1
4 1
2 1
5 1
2 1
2 1
5 1

output:

0
3
4
6
6
8
9
11
12
14

result:

ok 10 lines

Test #2:

score: 0
Accepted
time: 3ms
memory: 32508kb

input:

10
5 1
10 1
5 1
3 1
5 1
5 1
1 1
3 1
1 1

output:

0
4
4
6
6
7
8
12
14
16

result:

ok 10 lines

Test #3:

score: -100
Wrong Answer
time: 3ms
memory: 34424kb

input:

10
4 1
7 1
9 1
3 1
7 1
1 1
7 1
6 1
3 1

output:

0
5
6
9
11
12
12
13
16
17

result:

wrong answer 9th lines differ - expected: '15', found: '16'