fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a=5, b=10, c=15, d=30, result;
  6. result = a*3+b>d || c-b/a <= d && 1;
  7. printf("%d\n", result);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
1