QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#690204#6416. Classical Scheduling Problemucup-team3475TL 0ms9844kbC++173.5kb2024-10-30 21:00:302024-10-30 21:00:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4 100
20 1
40 4
60 3
30 3
1 5
10 1

output:

2
3
1 4 2 
0
0


result:

ok ok, 2 test cases (2 test cases)

Test #2:

score: -100
Time Limit Exceeded

input:

10000
21 1892
174 13
604 15
170 2
413 11
899 2
531 12
651 17
553 9
429 8
837 14
937 12
577 7
532 11
19 2
173 10
165 6
762 15
221 6
945 13
302 19
7 3
54 26066
812 31
432 24
240 37
171 39
204 47
174 30
569 1
467 5
624 42
734 35
907 3
568 23
802 40
991 32
119 13
187 27
739 42
891 14
550 44
374 16
483 1...

output:

7
8
21 14 16 3 18 9 12 15 
63
63
22 21 14 25 37 41 15 27 16 3 4 15 6 1 48 16 54 29 5 31 18 3 38 42 43 44 51 20 35 20 4 9 2 8 30 21 6 13 52 19 8 34 28 12 7 12 2 26 9 7 53 33 36 46 47 10 49 24 17 17 40 45 39 
27
27
21 14 5 25 15 12 16 3 15 14 1 54 18 38 43 51 20 4 9 16 8 21 6 13 8 7 12 
18
18
21 14 40...

result: