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

关于getline函数的使用问题

Posted by zyxwg at 2005-05-28 11:28:41 on Problem 1107
为什么在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