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:怎么输入n组数据并判定输入结束(C)?

Posted by hawk at 2003-12-13 19:38:28 on Problem 1001
In Reply To:怎么输入n组数据并判定输入结束(C)? Posted by:geniusxsy at 2003-12-13 19:35:45
while(scanf("%f %d",&f,&n)==2))
{
fun(f,a);
}
像这类问题,查查函数手册就可以解决的阿

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