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 xxx0624 at 2013-05-22 19:46:52 on Problem 1470
In Reply To:我是这么处理那个恶心的输入的…… Posted by:393570442 at 2011-09-27 18:00:59
> char ch1[2],ch2[2];
> scanf("%1s%d%d%1s",ch1,&x[i],&y[i],ch2);
> 这样写,挺简单的,就一行^ _ ^
厉害!!!!!!!!!!!!!!!
我scanf("%c%d%c%d%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