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) {
  8. cout << "Nemonoton" << endl;
  9. } else if (((a <= b ) && (b <= c ) && (c <= d)) && ( a != d )){
  10. cout << "Crescator" << endl;
  11. }else if (((a >= b ) && (b >= c ) && ( c >= d)) && ( a != d )){
  12. cout << "Descrescator" << endl;
  13. }else{
  14. cout << "Nemonoton" << endl;
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
Nemonoton