fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int i;
  6. scanf("%d",&i);
  7. if(i<5000){
  8. i=+100;
  9. }
  10. else if(5000<=i<10000){
  11. i=+200;
  12. }
  13. else if(10000<i){
  14. i=+300;
  15. }
  16. printf("%d",&i);
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5316KB
stdin
4000
stdout
-1264734236