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 IceAngel at 2005-05-24 18:32:32 on Problem 1008
In Reply To:急!输入的时候一定要有“.”么?太郁闷了。 Posted by:00448224 at 2005-03-10 14:17:58
int day;
char month[10];
int year;
char ch;

cin >> day;
cin >> ch;
cin >> month;
cin >> year;

我想这样可以吧。
不过我不知道这题的算法。可以的话,写出来让我看一下吧。

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