QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#175924#6416. Classical Scheduling ProblembobcheeseburgerWA 72ms3656kbC++145.0kb2023-09-11 05:22:272023-09-11 05:22:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 72ms
memory: 3656kb

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:

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

9
10
12 2 11 1...

result:

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