Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- void solve(){
- int n, k, m;
- cin >> n >> m >> k;
- int an = (n * k + m - 1);
- int ans = an / m;
- cout << ans << endl;
- }
- int main(){
- ios::sync_with_stdio(NULL), cin.tie(0), cout.tie(0); // Оптимизация
- solve();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement