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:这样的算法对吗? 我想了好久,理论上是对的,但是提交时…

Posted by wenweix at 2010-01-04 09:02:57 on Problem 3740
In Reply To:Re:这样的算法对吗? 我想了好久,理论上是对的,但是提交时… Posted by:wenweix at 2010-01-04 09:00:50
我看你的算法是没有错的。但是ACM系统说明里说的,必须将main()声明为int 型,然后返回整数值,否则gcc编译时会报错的。

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