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 thchuan2001 at 2017-03-30 21:41:45 on Problem 1654
In Reply To:本神题所有的注意事项汇总!!! Posted by:thchuan2001 at 2017-03-30 21:41:07
> 首先GCC会ce,G++会wa,不要用这两个编译器。
> 
> 最终答案是要取绝对值,但fabs用c++居然会ce,所以要手写abs
> 
> 因为答案一定是整数或整数除以二,所以用整形存,不能用float或double。
> 
> 还有答案可能爆int,所以要开longlong。
> 
> 最坑的是不能所有的变量都开,会MLE,所以只开跟答案相关的就行。
> 
> 真的不知道第一个AC的人是怎么做到的。。。

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