foo.c: In function 'main':
foo.c:116:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
116 | else if(i=2)
| ^
foo.c:142:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
142 | else if(i=2)
| ^
foo.c:169:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
169 | else if(i=2)
| ^
foo.c:192:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
192 | else if(i=2)
| ^
foo.c:236:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
236 | else if(i=2)
| ^
foo.c:201:57: warning: 'days' may be used uninitialized [-Wmaybe-uninitialized]
201 | days=366-days-day1;
| ~~~^~~~~
foo.c:10:13: note: 'days' was declared here
10 | int days;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务