fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double i=28574.0;
  5. int a;
  6. double b,d,c;
  7. scanf("%d",&a);
  8. b=a/i;
  9. d=1-b;
  10. c=4800*d;
  11. printf("%.0lf",c);
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5284KB
stdin
1NFORMAT1ON
stdout
4800