| ||||||||||
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 |
这到底是神马状况,神马时间复杂度都是浮云,膜拜下北大的OJ#include<stdio.h> int main(){ int a,b,i,j,c,d=0; while(scanf("%d%d",&i,&j)!=EOF) { for(a=0;a<5000;a++) for(b=0;b<5000;b++) for(c=0;c<5000;c++) d++; printf("%d\n",i+j); } return 0; } 注意哦,提交上去只耗16MS。。。对于POJ来说,神马时间复杂度都是浮云。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator