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
北京大学《ACM/ICPC大学生程序设计竞赛训练》暑期课面向全球招生!

我 ft R与C读入反了,居然一下数据只有一组不对……

Posted by lqp18_31 at 2009-08-17 09:09:59 on Problem 3009
5 4
1 1 2 1 1
1 0 0 0 0
1 0 0 1 3
1 1 1 1 1
5 2
2 0 1 1 1
0 0 1 1 3
7 7
0 0 0 0 2 0 0
0 0 1 0 0 0 0
0 0 0 0 0 1 1
0 1 0 0 0 0 0 
0 0 0 0 1 0 0
0 0 0 0 0 0 0
0 0 0 0 0 3 0
10 10
1 1 1 1 1 1 1 1 1 1
0 1 1 1 1 1 1 0 1 1
2 1 0 1 1 1 1 1 1 1
1 1 1 1 1 1 0 1 1 1
1 0 1 0 1 1 1 1 1 1 
1 1 1 1 1 3 1 0 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 0 1
1 0 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
2 1
3 2
6 6
1 0 0 2 1 0
1 1 0 0 0 0
0 0 0 0 0 3
0 0 0 0 0 0
1 0 0 0 0 1
0 1 1 1 1 1
6 1
1 1 2 1 1 3
6 1
1 0 2 1 1 3
12 1
2 0 1 1 1 1 1 1 1 1 1 3
13 1
2 0 1 1 1 1 1 1 1 1 1 1 3
0 0



ans:
4
-1
6
9
1
4
-1
4
10
-1

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