#1890: 爲什麼通不過..


first350 (fresh)


#include <stdio.h>
#include <stdlib.h>

int main(void)
{
  char s[10];
  scanf("%s",&s);
  printf("hello, %s",s);


 system("pause");
 return 0;

}

 

到底哪裡有錯??

#2153: Re:爲什麼通不過..


tzp_1210 (多维数组)


#include
#include

int main(void)
{
  char s[10];
  scanf("%s",&s);
  printf("hello, %s",s);


 system("pause");
 return 0;

}

 

到底哪裡有錯??

注意题目的要求:输入有多行

你须要用一个循环来处理多个字符。

另外你用pause命令会让你的程序超时的。