fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a, b, c, d;
  6. cin >> a >> b >> c >> d;
  7. if (((a <= b) && (b <= c) && (c <= d)) && !((a == b) && (b == c) && (c == d))) {
  8. cout << "Crescator";
  9. }
  10. if (((a >= b) && (b >= c) && (c >= d)) && !((a == b) && (b == c) && (c == d))) {
  11. cout << "Descrescator";
  12. }
  13. if (!((a <= b) && (b <= c) && (c <= d))) {
  14. if (!((a >= b) && (b >= c) && (c >= d))) {
  15. cout << "Nemonoton";
  16. }
  17. }
  18. if ((a == b) && (b == c) && (c == d)){
  19. cout << "Nemonoton";
  20. }
  21. return 0;
  22. }
Success #stdin #stdout 0.01s 5280KB
stdin
9
9
9
9






stdout
Nemonoton