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

Re:为什么cin cout 会TLE 但是改成 scanf 就ac了??? 害我郁闷好久!

Posted by sspp at 2004-10-21 20:48:50 on Problem 1935
In Reply To:Re:为什么cin cout 会TLE 但是改成 scanf 就ac了??? 害我郁闷好久! Posted by:lxj at 2004-10-21 20:25:03
可能本来c++和c的输入输出速度差不多
但是这里算的是系统时间

c++的IO函数又调用了别的函数,这都算算在IO时间了
而c的IO函数,几乎就没有算时间

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