fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. for (int i =6; i <100; i++) {
  6. // cin >> s;
  7. int s = (i + 1) / 7;
  8. int n = 36;
  9. while (s < 2050) {
  10. s = s * 2;
  11. n = n + 3;
  12. }
  13. if (n == 66){
  14. cout << i << endl;
  15. }
  16. }
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0.01s 5496KB
stdin
Standard input is empty
stdout
20
21
22
23
24
25
26
27
28
29
30
31
32
33