[Login|Register]
New post

Show post

Search forum

Read post
我这个程序为什么结果是RUNTIME ERROR [ Topic ] 2012-11-29 18:27:47 xuhao95
#include<stdio.h>
int main()
{
char a[10000000];
int i,j;
i=0;
while( scanf("%c",&a[i]) !=EOF  )
{
i++;
}
for(j=0;j<i;j++)
{
printf("%c",a[j]);
}
return 0;
}
Reply
Title
Message
(64K)
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.4ms with 2 query(s).