QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116841#6667. Prosjekznstz#0 257ms18840kbC++142.0kb2023-06-30 09:11:082024-05-31 18:31:26

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: 3660kb

input:

99
4
739880851158065302 19206582949872932 883064254701115295 222072661880779376
7
148399819461615003 209088712310207988 53191076581680214 445068618251612752 230505279594622109 115754892157516718 804173775829453588
2
77979357045500669 41693388829622019
3
341612949433488278 609808714829036935 19994167...

output:

19206582949872932 739880851158065302
883064254701115295 379543717053969117
222072661880779376 631303985877542206
445068618251612752 209088712310207988
230505279594622109 148399819461615003
53191076581680214 115754892157516718
804173775829453588 327078665280910370
189452549528118556 84472984369598466...

result:

wrong answer you didn't find a solution but jury did (test case 19)

Subtask #2:

score: 0
Wrong Answer

Test #16:

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

input:

100
3
3 3 2
3
4 1 1
4
1 3 4 4
6
4 4 2 3 1 2
4
0 2 1 4
3
0 2 0
7
3 3 1 1 3 4 0
2
0 4
4
1 4 2 3
7
4 0 0 3 2 3 4
4
4 2 0 3
7
0 2 2 1 4 2 4
7
3 0 3 1 2 0 3
4
4 3 1 4
6
2 3 0 1 3 4
5
1 4 0 3 4
5
4 2 0 4 2
3
0 1 2
6
4 1 4 2 0 4
7
4 2 4 3 1 3 1
4
1 4 4 0
2
1 1
6
0 3 3 0 0 4
7
4 3 0 3 3 3 4
4
4 1 1 3
6
2 0 ...

output:

-1
-1
4 4
3 1
4 2
2 2
3 1
4 4
2 2
4 2
2 4
1 3
0 2
0 0
2 0
4 0
1 3
3 3
1 3
2 2
2 2
4 0
-1
3 3
2 4
0 4
3 3
0 2
3 1
2 0
3 1
4 2
0 2
1 1
4 4
2 2
4 2
1 3
3 3
0 0
2 0
1 3
3 1
2 2
3 1
4 4
2 4
2 4
1 3
3 3
0 2
3 1
4 4
0 4
3 1
2 2
2 4
2 0
3 1
4 2
2 0
1 1
4 4
0 4
2 4
1 3
2 2
1 1
3 3
1 3
4 2
4 2
3 3
0 4
4 2
1 3...

result:

wrong answer you didn't find a solution but jury did (test case 9)

Subtask #3:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 215ms
memory: 3856kb

input:

100000
5
846784256447769304 457696478728961702 128469521648960690 597630796847754190 104256763714529164
5
658897822238868978 472135077337628566 399538027669313322 622703684108675696 425723088635325654
5
917704960887390986 140817562615382054 877934664521057998 782212806618666818 616380973421914538
8
...

output:

846784256447769304 104256763714529164
457696478728961702 597630796847754190
128469521648960690 475520510081149234
527663637788357946 301995015865054962
472135077337628566 658897822238868978
399538027669313322 622703684108675696
425723088635325654 565516449788248772
511120855888994509 495619769211787...

result:

wrong answer you didn't find a solution but jury did (test case 10)

Subtask #4:

score: 0
Wrong Answer

Test #46:

score: 0
Wrong Answer
time: 257ms
memory: 18840kb

input:

100
211957
911918942087402387 344230223346742784 16289402153237664 528890583619159010 886281719684850237 865484734102017297 321851390502278959 754268375474197153 237414161302130571 135637002716682378 824412491959977735 162505521049217610 246319278060116103 666703181591704279 650875500699154233 96397...

output:

272742240546031455 117420031006751391
268467463887452445 260159545379138915
643553748664418046 880703961935127840
962988934291841421 847697023356597449
718649618543258667 544340088508131755
125571013367082793 133462507149623905
955905420039726489 572508332528971023
166253840074581813 892391717413761...

result:

wrong answer you didn't find a solution but jury did (test case 60)