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

纠结了好久的题...写几点注意事项

Posted by irtest at 2009-08-16 15:21:49 on Problem 2885 and last updated at 2009-08-16 15:22:10
1. 本题数据有长度为50的,与题目说明不符(★)

2. 一个地图可以没有镜子说明,读入的时候要注意(Each test case starts with zero or more lines each describing one mirror. ),所以推荐的方法是判断地图最后一行的第二位字符是不是'#'或'-'或' '

3. 镜子的反面是完全阻光的,并且将这一格占得严严实实~也就是说,一面镜子不可能被光经过两次

4. 一个编号的镜子只有一面,也只有唯一的形状

5. getline的位数控制的数字包括了'\0'的那一位,gets是读入换行符前的空格的,测试数据里没有多余的空格

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