fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. double x, y, z;
  6. cin >> x >> y >>z;
  7. if (x<y && y<z){
  8. cout << "right";
  9. }
  10. else {
  11. cout << "wrong";
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 3460KB
stdin
5 4 3
stdout
wrong