Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

废了一下午时间终于知道为毛TLE了 这是个大坑

Posted by dqsy_201414010431 at 2016-04-03 17:20:50 on Problem 2828
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator