[Login|Register]
New post

Show post

Search forum

Read topic
Why always TLE!!! 2009-08-02 15:02:14 harrysummer
If a single "getchar","putchar" or "printf" cannot work, I can hardly think of any other ways to solve this problem. Will anyone who have solved it publish the code?
Re:Why always TLE!!! 2009-08-03 19:00:30 fuch
#include <stdio.h>
int main()
{
    int ch;
    while((ch=getchar())!=EOF) putchar(ch);
    return 0;
}
Reply
Title
Message
(64K)
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.8ms with 1 query(s).