QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#882883#3226. Distance SumangletrisectionWA 4ms38508kbC++146.8kb2025-02-05 12:34:102025-02-05 12:34:10

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 38504kb

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: 4ms
memory: 38508kb

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: 0
Accepted
time: 4ms
memory: 38468kb

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
15
17

result:

ok 10 lines

Test #4:

score: 0
Accepted
time: 2ms
memory: 36464kb

input:

10
1 1
9 1
9 1
6 1
9 1
3 1
10 1
1 1
3 1

output:

0
1
3
5
7
8
10
13
13
15

result:

ok 10 lines

Test #5:

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

input:

10
6 1
6 1
3 1
3 1
1 1
1 1
9 1
3 1
1 1

output:

0
2
3
5
6
7
10
12
13
16

result:

wrong answer 7th lines differ - expected: '9', found: '10'