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
北京大学《ACM-ICPC竞赛训练》暑期课面向全球招生。容量有限,报名从速!

从Wa到Re到Wa到TLE到Wa到AC的心路历程

Posted by Sky_miner at 2017-05-17 11:33:50 on Problem 1322
首先你一看,写了个矩乘上去.
结果Wa ...
然后 if(n == 0 && m == 0) puts("1.000")

然后你Re了..
然后你发现if(m > c) puts("0.000");

然后你Wa了..
然后你发现if((n-m)&1) puts("0.000");

然后你TLE了..
然后你发现if(n > 1000) n = 1000 + (n&1).

然后你Wa了..
然后你发现G++下%.3lf -> %.3f

然后你终于在十几次提交后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