fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define range(i,mn,mx) ((i >= mn) && (i <= mx)?1:0)
  4.  
  5. int main()
  6.  
  7. {
  8. int x,y;
  9. x=0;
  10. y=10;
  11. int i=(x||y);
  12. cout<<((i >= 0) && (i <= 1)?1:0)<<endl;
  13.  
  14. cout<<range(x||y,0,1)<<endl;
  15. }
  16.  
Success #stdin #stdout 0s 4464KB
stdin
Standard input is empty
stdout
1
0