QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#367669#5258. Mortgageucup-team3188WA 3ms4436kbC++205.9kb2024-03-26 11:40:002024-03-26 11:40:01

詳細信息

Test #1:

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

input:

10 10
21 18 19 18 16 15 13 13 13 10
10 1
6 4
7 3
2 2
6 5
2 6
3 2
4 1
1 5
6 3

output:

10
13
13
18
12
16
18
18
18
13

result:

ok 10 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 4436kb

input:

1000 1000
196 207 195 207 200 203 202 204 205 191 190 188 203 198 201 188 203 198 196 196 200 195 200 206 193 198 186 196 200 185 202 195 203 199 185 199 202 191 184 194 195 194 193 195 184 197 189 193 186 187 193 193 196 186 195 193 186 192 188 188 187 197 179 188 195 196 197 186 194 183 189 185 19...

output:

159
16
110
64
161
119
169
63
172
128
93
83
118
119
86
32
175
145
139
84
149
120
134
155
108
110
66
178
90
99
118
91
134
85
151
76
131
50
92
100
95
78
110
87
119
141
68
81
172
82
113
139
137
81
79
16
52
31
104
116
108
38
75
176
156
55
165
112
147
74
68
172
112
157
94
177
111
166
110
113
98
155
109
15...

result:

wrong answer 1st lines differ - expected: '158', found: '159'