QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#189702#5258. Mortgageucup-team1704WA 3ms12804kbC++172.3kb2023-09-27 19:47:122023-09-27 19:47:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 11680kb

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:

158
19
110
64
160
118
169
63
172
128
93
82
118
119
90
35
174
145
139
84
149
120
133
155
108
110
65
178
90
99
118
98
133
85
151
76
130
51
91
99
95
78
110
87
119
141
68
81
179
82
112
139
136
81
79
16
51
31
104
122
108
38
75
176
156
55
165
112
146
74
68
172
112
159
94
177
111
166
110
112
98
159
109
155...

result:

wrong answer 2nd lines differ - expected: '16', found: '19'