foo.c: In function 'main':
foo.c:40:45: warning: unused variable 'pas' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~~
foo.c:40:42: warning: unused variable 'we' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~
foo.c:40:37: warning: unused variable 'ji' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~
foo.c:40:32: warning: unused variable 'temn' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~~~
foo.c:40:27: warning: unused variable 'temk' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~~~
foo.c:40:19: warning: unused variable 'couts' [-Wunused-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^~~~~
foo.c:40:15: warning: variable 'k' set but not used [-Wunused-but-set-variable]
40 | int i,k,n,couts=0,temk,temn,ji=0,we,pas;
| ^
foo.c: In function 'pdjo':
foo.c:35:16: warning: 'o' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | return o;
| ^
foo.c: In function 'main':
foo.c:48:19: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized]
48 | if(pdjo(i)==1)//偶数
| ^
foo.c:52:25: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized]
52 | else if(pdjo(i)==0)//奇数
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务