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:怎么样读最后一行的0,然后推出程序?

Posted by bjtuacmer200701 at 2007-08-29 15:01:16 on Problem 3368
In Reply To:怎么样读最后一行的0,然后推出程序? Posted by:derness at 2007-08-29 13:53:25
while(scanf("%d",&n)&&n)
{
scanf("%d",&q);

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