foo.cc: In function 'void getTwo()':
foo.cc:16:12: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | two[i + 1] = two[i] / 10;
| ~~~~~~~~~~~^~~~~~~~~~~~~
foo.cc:14:15: note: within this loop
14 | for (i = 0; i < size; i++){
| ^
foo.cc: In function 'void mul(int)':
foo.cc:35:11: warning: iteration 204 invokes undefined behavior [-Waggressive-loop-optimizations]
35 | mu[i + 1] = mu[i] / 10;
| ~~~~~~~~~~^~~~~~~~~~~~
foo.cc:33:15: note: within this loop
33 | for (i = 0; i < size; i++){
| ^
foo.cc: In function 'int main()':
foo.cc:82:16: warning: 'a' is used uninitialized [-Wuninitialized]
82 | for (i = 0; a[i]; i++);
| ~~~^
foo.cc:80:6: note: 'a' declared here
80 | char a[205];
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务