QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#564666#8936. Team Arrangementucup-team4796#WA 1ms4968kbC++142.6kb2024-09-15 12:28:002024-09-15 12:28:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4968kb

input:

3
2 3
1 2
2 2
4 5 100

output:

9

result:

ok single line: '9'

Test #2:

score: 0
Accepted
time: 1ms
memory: 4708kb

input:

3
1 3
3 3
2 3
1 1 100

output:

100

result:

ok single line: '100'

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 4924kb

input:

2
1 1
2 2
1 1

output:

-1000000000

result:

wrong answer 1st lines differ - expected: 'impossible', found: '-1000000000'