fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. long long n, m;
  7. cin >> n >> m;
  8. long long res = ceil( m / (double) n );
  9. cout << res;
  10. return 0;
  11. }
Success #stdin #stdout 0s 15232KB
stdin
100 123456
stdout
1235