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 00448242 at 2005-03-10 17:09:55 on Problem 1008
In Reply To:Re:急!输入的时候一定要有“.”么?太郁闷了。 Posted by:00448242 at 2005-03-10 17:03:17
> 
> int a;
> char b[10];
> int c;
> cin >> a;
> cin.get();
> cin >> b;
> cin >> c;
int a;
char b[10];
int c;
scanf("%d. %s %d",&a,b,&c);

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