[Login|Register]
New post

Show post

Search forum

Read post
Re:这代码能得到正确结果啊,怎么老是Time Limit... [ Topic ] 2015-08-07 23:36:25 boring
为啥用scanf 和 printf 也不可以
----------------------------------------------------------------------------------
#include<stdlib.h>
#include<stdio.h>

int main()
{
    char c;

    while(scanf("%c",&c))
   
       printf("%c",c);
       
   return 0;
}
Reply
Title
Message
(64K)
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.7ms with 2 query(s).