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 hbu_Dustin at 2006-04-10 15:14:14 on Problem 2810
	scanf("%d%s%d%s",&vit[i].a,&vit[i].u,&vit[i].r,&vit[i].v);
会将空格也默认为字符

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