Changed the folder structure of codeforces problemsets

This commit is contained in:
2021-11-02 12:54:37 +01:00
parent 5c71f0bbdd
commit 7eaf59bb45
13 changed files with 448 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
long long n, m, a;
cin >> n >> m >> a;
long long result = ceil((double)n / (double)a) * ceil((double)m / (double)a);
cout << result;
cout << flush;
return 0;
}