fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. int x,y;
  8. cin>>x;
  9. //x=abs(x);
  10. cout<<x/100<<endl;
  11.  
  12. cin>>y;
  13. cout<<max(x,y)<<" "<<min(x,y)<<endl;
  14. cout<<max(2345,max(x,y));
  15. return 0;
  16.  
  17. }
Success #stdin #stdout 0.01s 5320KB
stdin
-345 5
stdout
-3
5 -345
2345