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 |
废了一下午时间终于知道为毛TLE了 这是个大坑for(int i=1;i<=test;i++) { // scanf("%d %d",&Pos[i],&Value[i]); cin>>Pos[i]>>Value[i]; } 如上 输入数据的时候用cin就过不去,用scanf秒过....为了确认我还试了5次 ,这服务器肯定没装好c++。这把我坑的好惨.... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator