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

你的程序有一个地方很可疑

Posted by frkstyc at 2005-06-04 12:41:46 on Problem 2080
In Reply To:悲哀……对着日历都对过了,结果还是WA Posted by:realmajia at 2005-06-04 02:59:12
>       while n>=366+365*3 do
>         begin
>           inc(y,4);
>           w:=(366+365*3+w) mod 7;
>           if w=0 then w:=7;
>           dec(n,366+365*3);
>         end;
好好想想为什么

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