QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513359#9176. Non-Interactive Nimucup-team216#WA 26ms3820kbC++231.3kb2024-08-10 17:38:032024-08-10 17:38:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
4 2 7 1
4
1 1 1 1

output:

3
1 4
2 2
3 1
-1

result:

ok OK 1 yes 1 no (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 26ms
memory: 3820kb

input:

50000
2
3 3
2
2 2
2
3 3
2
2 2
2
3 3
2
3 3
2
1 1
2
1 1
2
1 1
2
2 2
2
2 2
2
3 3
2
2 2
2
1 1
2
3 3
2
1 1
2
1 1
2
1 1
2
3 3
2
1 1
2
1 1
2
3 3
2
2 2
2
3 3
2
3 3
2
2 2
2
1 1
2
3 3
2
2 2
2
2 2
2
3 3
2
3 3
2
1 1
2
1 1
2
1 1
2
3 3
2
3 3
2
1 1
2
1 1
2
3 3
2
2 2
2
2 2
2
2 2
2
1 1
2
1 1
2
2 2
2
2 2
2
1 1
2
3 3
...

output:

2
1 3
1 3
1
1 2
2
1 3
1 3
1
1 2
2
1 3
1 3
2
1 3
1 3
1
1 1
1
1 1
1
1 1
1
1 2
1
1 2
2
1 3
1 3
1
1 2
1
1 1
2
1 3
1 3
1
1 1
1
1 1
1
1 1
2
1 3
1 3
1
1 1
1
1 1
2
1 3
1 3
1
1 2
2
1 3
1 3
2
1 3
1 3
1
1 2
1
1 1
2
1 3
1 3
1
1 2
1
1 2
2
1 3
1 3
2
1 3
1 3
1
1 1
1
1 1
1
1 1
2
1 3
1 3
2
1 3
1 3
1
1 1
1
1 1
2
1 3
...

result:

wrong answer Integer parameter [name=x] equals to 3, violates the range [1, 0] (test case 1)