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就会re啊。。。

Posted by abcdefgzzzz at 2016-09-13 21:37:37 on Problem 3026
In Reply To:没想到WA是因为测试数据多了莫名其妙的空格 Posted by:learncpp at 2008-05-07 21:08:52
> 
> 6 5              
> ######
> #A#A##
> # # A#
> #S  ##
> ######
> 
> 空格位于"6 5              ",得丢弃
> 
> 
> 
为什么读入图的时候用getline就会re啊。。。

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