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

这题目直接用cin就完事了

Posted by zhanshi at 2006-07-21 18:49:40 on Problem 1107
In Reply To:关于getline函数的使用问题 Posted by:zyxwg at 2005-05-28 11:28:41
> 为什么在string一个字符串类,并且用getline函数读入字符串后,需要输入两次回车才可以呢?
> 导致输入格式与题目测试数据不符(毕竟多了一行空行啊)

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