foo.c: In function 'main':
foo.c:7:13: error: expected ';' before ')' token
7 | for(m=1,m++)
| ^
| ;
foo.c:7:13: error: expected expression before ')' token
foo.c:8:9: warning: right-hand operand of comma expression has no effect [-Wunused-value]
8 | for(n=1,n<m,n++)
| ^
foo.c:8:17: error: expected ';' before ')' token
8 | for(n=1,n<m,n++)
| ^
| ;
foo.c:8:17: error: expected expression before ')' token
foo.c:17:11: error: expected expression before '/' token
17 | return 0;/
| ^
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d%d",&m,&n);
| ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务