foo.c: In function 'main':
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &le);
^~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^~~~~~~~~~~~~~~
foo.c:23:20: warning: iteration 1001 invokes undefined behavior [-Waggressive-loop-optimizations]
for (j = 0; j < a[i]; j++)
~^~~
foo.c:21:2: note: within this loop
for (i = 0; i <= 1001; i++)
^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务