QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141980#6667. Prosjekhyforces#0 1321ms86720kbC++141.7kb2023-08-18 09:11:242024-04-28 07:21:36

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

input:

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

output:

-1
53191076581680215 115754892157516719
84472984369598467 209088712310207989
445068618251612753 804173775829453589
230505279594622110 146780848339903228
188643063967262669 624621197040533171
148399819461615004 406632130503897920
77979357045500670 41693388829622020
199941674506573817 3416129494334882...

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #16:

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

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

result:

wrong answer there's no 5 in the current set (test case 3)

Subtask #3:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 1321ms
memory: 86720kb

input:

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

output:

104256763714529165 128469521648960691
457696478728961703 597630796847754191
527663637788357947 846784256447769305
687223947118063626 116363142681744928
399538027669313323 425723088635325655
412630558152319489 472135077337628567
622703684108675697 658897822238868979
640800753173772338 442382817744974...

result:

wrong answer there's no 104256763714529165 in the current set (test case 1)

Subtask #4:

score: 0
Runtime Error

Test #46:

score: 0
Runtime Error

input:

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

output:


result: