fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5.  
  6. int main() {
  7. int a,b;
  8. cin >>a>>b;
  9.  
  10. cout << round(double(a)/b);
  11. cout << ceil(double(a)/b);
  12. cout << floor(double(a)/b);
  13. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
567445674456743