[Login|Register]
New post

Show post

Search forum

Read topic
I do think that I can find the most time-consuming method!!    2009-09-02 00:24:11 suyg_2000
#include <stdio.h>
int main()
{
    char c;
    while(scanf("%c",&c)!=EOF) printf("%c",c);
    return 0;
}
Re:I do think that 。。。  2010-10-15 18:58:09 team915
你的方法,确实可以。。
我的也差不多,为什么就是runtime error呢?
#include "stdio.h"
//#include "stdlib.h"
void main(){
    char c;
    while((c=getchar())!=EOF){
        putchar(c);
    }

    //system("pause");
}
Reply
Title
Message
(64K)
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.7ms with 1 query(s).