落后爆米花

文章
4
资源
1
加入时间
3年2月0天

CodeForces King of the Waves(DFS )

题意:已知– ’1’ if person i will win against person j.(1代表i能赢j)        – ’0’ if person i will lose against person j.(0代表i会输给j)        – ’X’ if i = j.(X代表平局)。有n个人(0~n-1),问怎么安排出场顺序能使0赢。思路:一开始觉得排在前面的一定能被后边的打败...