fork download
  1. #pragma GCC optimize("Ofast")
  2. #include <bits/stdc++.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. cout << __lg(1) << endl;
  8. volatile int i = 1;
  9. do {
  10. cout << __lg(i) << endl;
  11. ++i;
  12. } while (i <= 1);
  13. }
Success #stdin #stdout 0s 4512KB
stdin
Standard input is empty
stdout
0
0