@[延佑](/space/show?uid=84590) `while (a[i] != 0)`,a[i] 的值未知。
by Anguei @ 2018-03-12 02:49:09
@[延佑](/space/show?uid=84590) 对您的代码稍作修改,AC 了。
```c
#include<stdio.h>
unsigned a[100 + 10];
int main()
{
int size = 0;
while (~scanf("%d ", &a[size++]));
for (int i = size - 3; i >= 0; --i)
printf("%d ", a[i]);
}
```
看不懂就问。
by Anguei @ 2018-03-12 02:57:26
明白了谢谢
by 延佑 @ 2018-03-12 17:53:07