#include <bits/stdc++.h>
#define int long long int
using namespace std;
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n, d, m;
cin>>n>>d>>m;
vector<int> a(m);
for (int i=0;i<m;i++)cin>>a[i];
cout<<ceil(m/(d+n)+1);
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
6 ms |
1368 KB |
Output isn't correct |
2 |
Incorrect |
5 ms |
1372 KB |
Output isn't correct |
3 |
Incorrect |
4 ms |
1368 KB |
Output isn't correct |
4 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
5 |
Incorrect |
4 ms |
1368 KB |
Output isn't correct |
6 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
7 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
8 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
9 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
10 |
Incorrect |
4 ms |
1372 KB |
Output isn't correct |
11 |
Incorrect |
4 ms |
1560 KB |
Output isn't correct |
12 |
Incorrect |
9 ms |
2652 KB |
Output isn't correct |
13 |
Incorrect |
13 ms |
3948 KB |
Output isn't correct |
14 |
Incorrect |
27 ms |
5456 KB |
Output isn't correct |
15 |
Incorrect |
21 ms |
6224 KB |
Output isn't correct |
16 |
Incorrect |
27 ms |
7760 KB |
Output isn't correct |
17 |
Incorrect |
32 ms |
9260 KB |
Output isn't correct |
18 |
Incorrect |
35 ms |
9564 KB |
Output isn't correct |
19 |
Incorrect |
37 ms |
10832 KB |
Output isn't correct |
20 |
Incorrect |
32 ms |
9040 KB |
Output isn't correct |