fork download
  1. #include <stdio.h>
  2.  
  3. #define mo3(m,n,p) ( (m) > (n) ? ((m) > (p) ? (m) : (p)) : ((n) > (p) ? (n) : (p)))
  4.  
  5. int main(void) {
  6.  
  7. int m=4,n=2,p=11;
  8. // your code goes here
  9. printf("%d\n", mo3(m,n,p));
  10. return 0;
  11. }
Success #stdin #stdout 0s 4504KB
stdin
Standard input is empty
stdout
11