fork(1) download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. unsigned long long x;
  5. scanf("%llu",&x); //tu wpisuję 13 i ENTER
  6. //x = 13;
  7. while(x>0)
  8. {
  9. x/=2;
  10. printf("%llu\n",x);
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 2296KB
stdin
13
stdout
6
3
1
0