fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. int i = 0x10000000;
  6.  
  7. int c = 0;
  8. do{
  9. c++;
  10. i += i;
  11. cout << i << endl;
  12. }while (i > 0);
  13.  
  14. cout << c << endl;
  15. return 0;
  16. }
  17.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty