QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#122862#5911. Manage your EnergyAbrams0 2ms5676kbC++171.0kb2023-07-11 13:14:532023-07-11 13:14:54

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5672kb

input:

100
5 1 3
1 2 3
5 1 3
1 3 2
5 1 3
2 1 3
5 1 3
2 3 1
5 1 3
3 1 2
5 1 3
3 2 1
2 1 3
3 1 3
3 1 5
1 2 3 2 1
3 1 5
3 2 1 2 3
5 1 1
2
5 5 10
10 10 10 10 10 10 10 10 10 10
5 1 10
10 1 10 1 10 1 10 1 10 1
5 1 10
1 10 1 10 1 10 1 10 1 10
5 1 10
1 2 3 4 5 6 7 8 9 10
5 1 10
10 9 8 7 6 5 4 3 2 1
5 1 10
1 10 2 9...

output:

case #1: 18
case #2: 18
case #3: 19
case #4: 18
case #5: 19
case #6: 18
case #7: 12
case #8: 15
case #9: 20
case #10: 10
case #11: 500
case #12: 131
case #13: 131
case #14: 95
case #15: 95
case #16: 111
case #17: 115
case #18: 40
case #19: 15
case #20: 12
case #21: 28
case #22: 15
case #23: 4
case #...

result:

wrong answer 1st lines differ - expected: 'Case #1: 18', found: 'case #1: 18'

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 2ms
memory: 5676kb

input:

100
5 1 3
1 2 3
5 1 3
1 3 2
5 1 3
2 1 3
5 1 3
2 3 1
5 1 3
3 1 2
5 1 3
3 2 1
2 1 3
3 1 3
3 1 5
1 2 3 2 1
3 1 5
3 2 1 2 3
5 1 1
2
5 5 10
10 10 10 10 10 10 10 10 10 10
5 1 10
10 1 10 1 10 1 10 1 10 1
5 1 10
1 10 1 10 1 10 1 10 1 10
5 1 10
1 2 3 4 5 6 7 8 9 10
5 1 10
10 9 8 7 6 5 4 3 2 1
5 1 10
1 10 2 9...

output:

case #1: 18
case #2: 18
case #3: 19
case #4: 18
case #5: 19
case #6: 18
case #7: 12
case #8: 15
case #9: 20
case #10: 10
case #11: 500
case #12: 131
case #13: 131
case #14: 95
case #15: 95
case #16: 111
case #17: 115
case #18: 7588093446180
case #19: 19336419062320
case #20: 82445121328592
case #21:...

result:

wrong answer 1st lines differ - expected: 'Case #1: 18', found: 'case #1: 18'