作者LPH66 (Turbo C++ vs DJGPP)
看板Prob_Solve
标题Re: [问题] 请问一下...acm online judge的input
时间Fri May 30 11:13:10 2003
※ 引述《scwg (void * I = NULL;)》之铭言:
: ※ 引述《RY (RY的风格与艺术)》之铭言:
: : 请问一下那是用什麽形式input的呀?
: : 是file吗?还是其他的方式呢?
: : 如果用c++要用什麽样的方式读input呢?
: : output直接用console印出来就可以了吗?
: 档案导向 像这样 :
: ./acmXXX < XXX.in > XXX.out
: 读就当做在读键盘 写就当在写萤幕 这样就够了
从stdin读入
写到stdout
--
≡ File Edit Search Run Compile Debug Project Options Window Help
╔[0] ══════════════ LPH66.CPP ═══════════════╗
║#include <PTT.h> ║
║#include <BBS.h> ║
C:\DJGPP>gpp LPH66.cpp -o LPH66.exe
--
※ 发信站: 批踢踢实业坊(ptt.csie.ntu.edu.tw)
◆ From: 163.15.56.3