QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#350079#8301. Hold the Lineucup-team1209#WA 578ms7936kbC++203.2kb2024-03-10 13:51:482024-03-10 13:51:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
3 5
1 1 3 2
0 1 1
0 3 3
1 1 2 2
1 2 3 2

output:

-1
1
1

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 578ms
memory: 7936kb

input:

3000
100 200
0 59 64091111
1 10 94 45205032
0 41 67249140
1 15 93 79570187
0 51 83215051
1 3 22 20062363
0 21 5188814
1 43 94 79642299
0 73 39313603
1 43 67 17001771
0 65 10784990
1 51 69 73368509
0 42 57377517
1 36 49 17483147
0 40 67280095
1 3 41 25139505
0 56 22833553
1 26 65 15640242
0 22 189761...

output:

18886079
12321047
979937644
3572752
47089340
9277398
39894370
19950691
4855252
2221206
1596905
975922789
3120922
34260194
3353597
935414862
2499997
916875440
15114024
1193064
49448136
734969
3981124
4159424
5836824
61155540
5163746
908100431
283130
3982548
964458244
982782949
961532146
9647216
23566...

result:

wrong answer 3rd lines differ - expected: '-1', found: '979937644'