| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
问: 怎么设置文件读 写??有些题输入太大了,敲错一个就作废了,郁闷
C ,我知道这么做就可以了:
#ifndef JUDGE
freopen("D.in", "r", stdin);
freopen("t.out", "w", stdout);
#endif
C++的话,怎么设置??有时候感觉用C++输入输出方便,还可能用到STL
哪位指点一下。
谢谢了~~~
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator