QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#125183#4971. Lecture AllocationZhangYiDeAC ✓456ms101528kbC++11965b2023-07-16 04:14:112023-07-16 04:14:13

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 101088kb

input:

4 3
11 40 70
20 30 100
20 30 100

output:

60

result:

ok single line: '60'

Test #2:

score: 0
Accepted
time: 1ms
memory: 101216kb

input:

4 3
9 40 70
20 30 100
20 30 100

output:

59

result:

ok single line: '59'

Test #3:

score: 0
Accepted
time: 1ms
memory: 101180kb

input:

1 1
100 101 102

output:

100

result:

ok single line: '100'

Test #4:

score: 0
Accepted
time: 1ms
memory: 101072kb

input:

3 1
1 2 100000

output:

100000

result:

ok single line: '100000'

Test #5:

score: 0
Accepted
time: 91ms
memory: 101236kb

input:

5000 1667
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998...

output:

166699999

result:

ok single line: '166699999'

Test #6:

score: 0
Accepted
time: 456ms
memory: 101528kb

input:

5000 5000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998 99999 100000
99998...

output:

166699999

result:

ok single line: '166699999'

Test #7:

score: 0
Accepted
time: 181ms
memory: 101404kb

input:

5000 2500
63409 76090 77141
10973 14546 17373
20557 55409 74972
49257 53665 98448
35253 39186 95166
460 10371 32850
6702 34964 89892
24047 36978 90942
12579 49158 56650
13375 31750 99053
10132 28147 51160
2462 9569 70763
5969 52646 87773
38933 63247 89455
39307 58632 60763
42842 44610 64355
40288 80...

output:

91335442

result:

ok single line: '91335442'

Test #8:

score: 0
Accepted
time: 178ms
memory: 101304kb

input:

5000 2500
1579 21560 57607
24609 75545 77851
7195 77427 81584
10956 35731 85023
5997 18540 39289
80029 96314 99430
3794 16404 97585
49375 50882 55001
16598 27060 54244
1627 20169 28374
53592 81629 96034
40152 47585 59173
17012 37293 50658
40425 49518 71133
55750 59234 77921
46515 66057 73836
2192 30...

output:

89577781

result:

ok single line: '89577781'