QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#855251#9557. TemperanceMaMengQiWA 0ms3816kbC++141.2kb2025-01-12 16:40:512025-01-12 16:40:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
5
1 1 1
1 1 2
1 1 3
2 3 5
2 2 4
3
1 1 1
2 2 2
3 3 3

output:

0 0 2 5 5 
0 3 3 

result:

ok 8 numbers

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3816kb

input:

16
1
1 1 1
2
1 1 1
1 1 100000
3
1 1 1
1 1 100000
1 100000 1
4
1 1 1
1 1 100000
1 100000 1
1 100000 100000
5
1 1 1
1 1 100000
1 100000 1
1 100000 100000
100000 1 1
6
1 1 1
1 1 100000
1 100000 1
1 100000 100000
100000 1 1
100000 1 100000
7
1 1 1
1 1 100000
1 100000 1
1 100000 100000
100000 1 1
100000 ...

output:

0 
0 0 
0 0 0 
0 0 0 0 
0 0 0 1 2 
0 0 0 0 2 2 
0 0 0 0 1 1 2 
0 0 0 0 1 1 1 1 
0 
0 0 
0 0 0 
0 0 0 0 
0 0 0 0 1 
0 0 0 0 1 1 
0 0 0 0 1 1 1 
0 0 0 0 1 1 1 1 

result:

wrong answer 15th numbers differ - expected: '5', found: '2'