QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465864#3973. Altruistic Amphibiansucup-team1005#TL 1671ms541808kbC++201.4kb2024-07-07 12:20:532024-07-07 12:20:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3588kb

input:

3 19
15 5 3
12 4 4
20 10 5

output:

3

result:

ok single line: '3'

Test #2:

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

input:

3 19
14 5 3
12 4 4
20 10 5

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 1671ms
memory: 541808kb

input:

26 25999
12000 2048 1000
13000 4096 1000
2000 2 1000
3000 4 1000
4000 8 1000
14000 8192 1000
21000 1048576 1000
1000 1 1000
5000 16 1000
9000 256 1000
10000 512 1000
11000 1024 1000
6000 32 1000
26000 33554432 1000
15000 16384 1000
7000 64 1000
8000 128 1000
22000 2097152 1000
25000 16777216 1000
16...

output:

26

result:

ok single line: '26'

Test #4:

score: 0
Accepted
time: 1662ms
memory: 539700kb

input:

26 26000
15001 16384 1000
7000 64 1000
12001 2048 1000
14001 8192 1000
21000 1048576 1000
1000 1 1000
5001 16 1000
13000 4096 1000
2000 2 1000
9000 256 1000
10000 512 1000
4000 8 1000
26000 33554432 1000
8000 128 1000
22001 2097152 1000
25000 16777216 1000
16000 32768 1000
17001 65536 1000
23000 419...

output:

10

result:

ok single line: '10'

Test #5:

score: -100
Time Limit Exceeded

input:

100000 90000000
127292 1 8313832
65669 1 3597934
4613849 1 2783677
4459537 1 2094312
1364609 1 65616
6884133 1 9771022
45917 5 141704
4052198 1 205283
7588439 1 210551
6283486 1 3185692
591686 1 7240865
55166 1 7002205
2372978 1 4947939
4949646 1 4232267
2678283 1 3649379
8506409 1 4815776
496540 1 ...

output:


result: