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:现在把程序精简一下,却变成Runtime Error!感觉还是细节没有考虑到,请指教

Posted by wrong123 at 2006-01-12 00:18:10 on Problem 1008
In Reply To:现在把程序精简一下,却变成Runtime Error!感觉还是细节没有考虑到,请指教 Posted by:xiaoxiaodi at 2006-01-11 22:51:44
看题目的输出要求, 还要输出 n

在scanf(n)后面加一句  printf(n)。

寻找对应月份可以直接利用strcmp嘛,写起来简单些。

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