QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#176987#6416. Classical Scheduling ProblembobcheeseburgerWA 133ms3756kbC++237.3kb2023-09-12 12:55:252023-09-12 12:55:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

2
3
2 4 1 
0
0

result:

ok ok, 2 test cases (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 133ms
memory: 3756kb

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:

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

result:

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