PersonalCorpus 版 (精华区)

904189 2002/06/15 07:59:54.327
Big Guava ... 458 C++ Accepted 0:00.100 400

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>

void main()
{
#ifndef ONLINE_JUDGE
    freopen("c:\\uva\\input458.txt","r",stdin);
    freopen("c:\\uva\\output458.txt","w",stdout);
#endif
    char ch;

    while((ch=getchar())!=EOF)
        if ((ch==0x0d)||(ch==0x0a)) putchar(ch); else putchar(ch-7);
}
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.076毫秒