题解 | 神秘石像的镜像序列
神秘石像的镜像序列
https://www.nowcoder.com/practice/fa34eea974234610b6d3d81790cb2949
#include <stdio.h>
int main()
{
int a[100];
int x,t = 0;
while(scanf("%d",&x) == 1 && x != 0)
{
a[t] = x;
t = t + 1;
}
for( ;t > 0 ; t--)
{
printf("%d ",a[t - 1]);
}
return 0;
}
OPPO公司福利 1229人发布