QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#397049#6416. Classical Scheduling ProblemmonstersqwqWA 86ms13928kbC++203.7kb2024-04-23 15:55:372024-04-23 15:55:38

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 13928kb

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
Wrong Answer
time: 86ms
memory: 13892kb

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

result:

wrong answer jury has a better answer: jans = 13, pans = 12 (test case 35)