fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. ios_base :: sync_with_stdio(false);
  6. cin.tie(NULL);
  7. int n;
  8. cin >> n;
  9. if(1 <= n && n <= 50){
  10. cout << "100" << endl;
  11. }
  12. else if(51 <= n && n <= 100){
  13. cout << "50" << endl;
  14. }
  15. else {
  16. cout << "0" << endl;
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5292KB
stdin
49
stdout
100