QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#396076#2557. LagqiuzxTL 5ms25860kbC++206.4kb2024-04-22 11:45:372024-04-22 11:45:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 25860kb

input:

1 8 3
2 1 2 1
0 1 1
1 1 1
2 1 1
3 1 1
4 1 1
5 1 1
6 1 1
7 1 1
1 1
2 1
4 2

output:

0
2
1

result:

ok 3 tokens

Test #2:

score: 0
Accepted
time: 4ms
memory: 24372kb

input:

2 0 3
3 3 7 7
4 4 6 6
5 5
3 7
8 8

output:

2
1
0

result:

ok 3 tokens

Test #3:

score: 0
Accepted
time: 0ms
memory: 24536kb

input:

10 10 10
45066 44774 106240 221436
22774 27403 164972 196292
35788 27798 154149 71660
8624 14258 47662 205040
9479 49585 89304 70902
24893 32999 218506 41529
27023 49837 175362 52663
21858 40287 135949 41957
12106 48095 80386 230759
41236 37600 169685 129218
7 6 5009
4 5 2577
0 5 37640
3 10 34168
1 ...

output:

0
8229
0
0
0
112970
3975
33943
95614
0

result:

ok 10 tokens

Test #4:

score: -100
Time Limit Exceeded

input:

249983 250000 250000
111104 145198 111104 145198
144828 160567 144828 160567
61230 137274 61230 137274
101294 65087 101294 65087
71606 235076 71606 235076
112838 56089 112838 56089
215472 230660 215472 230660
203596 175791 203596 175791
51286 6725 51286 6725
35435 139352 35435 139352
124096 225262 1...

output:


result: