读书人

Codeforces Round #207 (Div. 二)C. K

发布时间: 2013-10-18 20:53:13 作者: rapoo

Codeforces Round #207 (Div. 2)C. Knight Tournament(SET也可以搞定)
C. Knight Tournamenttime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

Hooray! Berl II, the king of Berland is making a knight tournament. The king has already sent the message to all knights in the kingdom and they in turn agreed to participate in this grand event.

As for you, you're just a simple peasant. There's no surprise that you slept in this morning and were late for the tournament (it was a weekend, after all). Now you are really curious about the results of the tournament. This time the tournament in Berland went as follows:

读书人网 >编程

热点推荐