fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int previousWeek, currentWeek;
  6. cin >> previousWeek >> currentWeek;
  7. if (previousWeek < currentWeek) {
  8. cout << "CRESCUT";
  9. } else if (previousWeek > currentWeek) {
  10. cout << "SCAZUT";
  11. } else {
  12. cout << "CONSTANT";
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
CRESCUT