QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#882886#3226. Distance SumangletrisectionWA 6ms38628kbC++146.9kb2025-02-05 12:38:362025-02-05 12:38:37

詳細信息

Test #1:

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

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

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: 6ms
memory: 38512kb

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

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

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'