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

用指针和不用指针都是G++超时,C++过,奇怪。

Posted by bjiang at 2007-12-02 15:56:32 on Problem 1776
In Reply To:我用链表实现的,用GCC超了,C++和C都能过,650MS Posted by:nobody_is_me at 2006-10-16 09:10:34
刚开始用指针做,G++超时,C++过了,以为是指针的原因。改成用数组做,还是G++超时,C++过了,为什么呢?G++和C++效率差这么多嘛,别的题目顶多差100ms左右啊,奇怪?

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