QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#516377#9176. Non-Interactive Nimucup-team1849WA 176ms3716kbC++20895b2024-08-12 16:36:042024-08-12 16:36:04

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
3 1
2 2
1 4
-1

result:

ok OK 1 yes 1 no (2 test cases)

Test #2:

score: 0
Accepted
time: 20ms
memory: 3716kb

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 1
1 2
1
1 2
2
1 1
1 2
1
1 2
2
1 1
1 2
2
1 1
1 2
1
1 1
1
1 1
1
1 1
1
1 2
1
1 2
2
1 1
1 2
1
1 2
1
1 1
2
1 1
1 2
1
1 1
1
1 1
1
1 1
2
1 1
1 2
1
1 1
1
1 1
2
1 1
1 2
1
1 2
2
1 1
1 2
2
1 1
1 2
1
1 2
1
1 1
2
1 1
1 2
1
1 2
1
1 2
2
1 1
1 2
2
1 1
1 2
1
1 1
1
1 1
1
1 1
2
1 1
1 2
2
1 1
1 2
1
1 1
1
1 1
2
1 1
...

result:

ok OK 50000 yes 0 no (50000 test cases)

Test #3:

score: -100
Wrong Answer
time: 176ms
memory: 3668kb

input:

50000
2
89846347117873058 89846347117873058
2
416235892302498917 416235892302498917
2
332154513003612985 332154513003612985
2
43960216631774959 43960216631774959
2
353215896487285554 353215896487285554
2
38296945667390613 38296945667390613
2
209150071115726640 209150071115726640
2
48610805835417777 ...

output:

30
1 2
1 32
1 128
1 256
1 512
1 1024
1 16384
1 32768
1 65536
1 131072
1 1048576
1 4194304
1 67108864
1 268435456
1 1073741824
1 -2147483648
1 2
1 4
1 64
1 128
1 512
1 4096
1 8192
1 65536
1 131072
1 262144
1 524288
1 1048576
1 2097152
1 16777216
31
1 1
1 4
1 32
1 64
1 1024
1 2048
1 16384
1 65536
1 26...

result:

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