QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#882846#3226. Distance SumangletrisectionWA 4ms38508kbC++145.3kb2025-02-05 11:54:502025-02-05 11:54:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: -100
Wrong Answer
time: 2ms
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
5
6
6
7
8
12
14
16

result:

wrong answer 3rd lines differ - expected: '4', found: '5'