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:求大神指点。discuss里的测试数据全部过了。咋还是WA。。。

Posted by 274856653 at 2018-11-19 09:05:06 on Problem 1035
In Reply To:Re:求大神指点。discuss里的测试数据全部过了。咋还是WA。。。 Posted by:274856653 at 2018-11-18 11:07:40
好吧。犯了一个极其弱智的错误
printf("%s:");
自己本地的编译器估计对代码进行了优化。
其它逻辑全部对了。所有的测试用例都能过。
以后一定注意编译的时候gcc -O0。。。。
不然。打死都看不见自己的弱智错误。

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