fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int k = 0;
  6. for (int i = 0; i < 10; i++) {
  7. k += !((4 + (~i + 1)) & 0x80000000);
  8. }
  9. cout << k << endl;
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/268749/101
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
5