fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. long a,b,c;
  6. int n=0;
  7. scanf("%ld",&a);
  8. do {a/10;
  9. n++;
  10. }
  11. while (a>0);
  12.  
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5312KB
stdin
35782
stdout
Standard output is empty