QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#178871#6416. Classical Scheduling ProblemHuangHanShengWA 115ms7940kbC++144.8kb2023-09-14 14:45:082023-09-14 14:45:09

详细

Test #1:

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

input:

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

output:

2
3
1 2 4
0
0

result:

ok ok, 2 test cases (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 115ms
memory: 7940kb

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
3 9 12 14 15 16 18 21
53
53
1 2 3 4 5 6 7 8 9 10 11 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
12
12
1 2 4 5 6 7 8 12 13 14 15 16
0
0
10
10
5 7 9 10 12 15 19 22 28 29
0
0
10
11
1 2 4 5 6 7 8 9 11 12 13
0
0
0
0
2
3...

result:

wrong answer jury has a better answer: jans = 7, pans = 0 (test case 4)