find the guy every one know
摘要:
There are N people in the town (N>=2), and function Know(i,j) return true if i knows j and false otherwise. The knowing relationship is not symmetric. Know(i,j)==true cannot guarantee Know(j,i)==true. Find those people: everyone knows him but he knows nobody else.Code highlighting produced by Act 阅读全文
posted @ 2011-02-10 20:26 triStone 阅读(213) 评论(0) 推荐(0)
浙公网安备 33010602011771号