fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. cout<<ceil((double)5/2)<<endl;
  6. cout<<ceil(5./2);
  7. }
Success #stdin #stdout 0s 4292KB
stdin
Standard input is empty
stdout
3
3