QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#499325#9134. Building a Fenceucup-team1657WA 3ms4032kbC++206.9kb2024-07-31 12:29:092024-07-31 12:29:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 4032kb

input:

7
7 9 4
1 1 2
1 1 4
4 6 2
3 3 5
10 6 4
1 11 5

output:

8
2
4
10
4
8
8
h=9 w=7 s=4 -> ch=2 cw=1 additional=2 ans=8
h=1 w=1 s=2 -> ch=0 cw=0 additional=2 ans=2
h=1 w=1 s=4 -> ch=0 cw=0 additional=4 ans=4
h=6 w=4 s=2 -> ch=3 cw=2 additional=0 ans=10
h=3 w=3 s=5 -> ch=0 cw=0 additional=4 ans=4
h=6 w=10 s=4 -> ch=1 cw=2 additional=2 ans=8
h=11 w=1 s=5 -> ch=...

result:

wrong answer 7th numbers differ - expected: '5', found: '8'