QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#758395#9587. 结课风云GuanYunchangWA 1ms3588kbC++14349b2024-11-17 18:10:522024-11-17 18:10:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
40 60 60
20 25
10 40
25 30
35 50
40 60
10

output:

2

result:

ok single line: '2'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3508kb

input:

1
0 100 0
0 52
0

output:

0

result:

ok single line: '0'

Test #3:

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

input:

1000
100 0 100
48 0
43 0
67 0
9 0
97 0
2 0
35 0
47 0
81 0
29 0
96 0
19 0
100 0
14 0
79 0
89 0
37 0
54 0
93 0
9 0
23 0
44 0
37 0
99 0
5 0
39 0
31 0
24 0
65 0
87 0
100 0
100 0
51 0
62 0
92 0
33 0
73 0
53 0
49 0
65 0
29 0
44 0
44 0
29 0
80 0
60 0
79 0
84 0
16 0
99 0
14 0
68 0
96 0
42 0
8 0
24 0
80 0
17...

output:

986

result:

ok single line: '986'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

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

output:

16

result:

ok single line: '16'

Test #5:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

500
100 0 80
36 0
3 0
32 0
44 0
87 0
77 0
98 0
40 0
78 0
99 0
96 0
21 0
90 0
86 0
18 0
3 0
36 0
69 0
89 0
94 0
6 0
89 0
50 0
66 0
58 0
54 0
2 0
95 0
75 0
76 0
96 0
41 0
36 0
83 0
100 0
25 0
99 0
61 0
51 0
71 0
92 0
56 0
45 0
58 0
82 0
78 0
66 0
72 0
52 0
76 0
87 0
1 0
50 0
94 0
31 0
80 0
72 0
21 0
5...

output:

28

result:

ok single line: '28'

Test #6:

score: -100
Wrong Answer
time: 1ms
memory: 3516kb

input:

1000
30 70 50
6 2
29 20
6 30
6 56
22 47
2 14
9 8
1 59
21 33
20 31
13 26
6 51
10 24
3 49
28 20
5 3
2 52
0 30
7 45
18 9
9 2
2 37
10 18
18 60
22 4
1 37
10 0
7 6
26 65
0 66
2 9
2 13
29 41
13 59
23 48
11 5
1 6
14 8
17 15
29 66
14 14
2 47
11 20
27 7
11 66
5 10
3 65
30 34
26 1
30 38
10 54
25 35
20 59
20 51...

output:

189

result:

wrong answer 1st lines differ - expected: '134', found: '189'