| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
3740老是wa?是不是我理解题意有问题啊?请大牛进来指点下!Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i < M, 0 ≤ j < N), could you find some rows that let every cloumn contains and only contains one 1.
我是这样理解的:
4 4
0 1 0 0
1 0 1 0
0 0 0 0
1 0 1 0
输出:
Yes, I found it
因为我找到第一行的第二列只有一个1,并且此列也只有一个1
0 1 0 0
0
0
0
所以Yes, I found it
对吗?
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator