StoneHaos

172

Oct 29th, 2019
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. //172
  2. #include <iostream>
  3. #include <math.h>
  4. #include <cstdio>
  5. using namespace std;
  6.  
  7. int main(void) {
  8.     ios_base::sync_with_stdio(false);
  9.     cin.tie(NULL);
  10.     freopen("input.txt", "r", stdin);
  11.     freopen("output.txt", "w", stdout);
  12.     int n, k;
  13.     cin >> n >> k;
  14.     cout << ceil((double)n / k);
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment