fork download
  1. #include<cstdio>
  2. #include<iostream>
  3. using namespace std;
  4.  
  5. main()
  6. {
  7. int k = 5;
  8.  
  9. cout<<(++k < 5 && k++/5 || ++k <= 8)<<endl;
  10. printf("%d ", k);
  11. }
  12.  
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
1
7