| ||||||||||
| 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 | |||||||||
不要误导众生,cout 760 毫秒,printf360毫秒In Reply To:不知道大家是怎么过的,我cout<<"1 1\n"输出到10000 次 压力测试时间为11.312秒,晕。输出是不是要一下特殊处理。 Posted by:piratelzs at 2007-04-20 22:02:20 #include <iostream>
#include <ctime>
using namespace std;
int main(){
int t1=clock();
for (int i=0;i<10000;i++)cout <<1<<' '<<1<<endl;
printf("%d\n",clock()-t1);
getchar();return 0;}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator