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

WA的人:要按输入顺序回答

Posted by drcrow at 2010-12-25 11:18:51 on Problem 1984
该死的题目描述。。我为此wa了4次
这组数据是个例子
input:
8 7
1 2 1 S
3 4 5 S
5 6 8 S
7 8 2 S
3 2 3 N
7 6 13 N
5 4 7 N
6
1 3 1
1 4 5
3 4 2
4 5 7
1 8 6
1 8 7
ans:
-1
9
5
7
-1
39

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