fork download
  1. #include <iostream>
  2. #include <math.h>
  3. #include <iomanip>
  4. #include <stdio.h>
  5. using namespace std;
  6. int main()
  7. {
  8. int a,b,c,X,Y,Z;
  9. cin >>a>>b>>c;
  10. if (a<b && b<c){
  11. X=a;
  12. Y=b;
  13. Z=c;
  14. }
  15. cout<<X<<" "<<Y<<" "<<Z;
  16. return 0;
  17. }
Success #stdin #stdout 0s 15232KB
stdin
5 1 9
stdout
0 -1697183408 -1697183104