23 lines
260 B
C
23 lines
260 B
C
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
int a[1000], i=0;
|
|
|
|
do
|
|
{
|
|
if(scanf("%d", &a[i])!=1)
|
|
break;
|
|
else
|
|
i++;
|
|
|
|
}while(1);
|
|
|
|
for(int j=0; j<i; j++)
|
|
{
|
|
printf("%d ", a[j]);
|
|
}
|
|
|
|
return 0;
|
|
}
|