foo.c: In function 'dui':
foo.c:14:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c:23:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c: In function 'pai':
foo.c:39:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c:48:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c: In function 'main':
foo.c:59:4: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:59:4: note: use option -std=c99 or -std=gnu99 to compile your code
foo.c:73:5: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c: In function 'pai':
foo.c:54:1: warning: control reaches end of non-void function [-Wreturn-type]
foo.c: In function 'dui':
foo.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]