Codeforces Round #297 (Div. 2)E. Anya and Cubes Time Limit: 2 Sec Memory Limit: 512 MBSubmit: xxx Solved: 2xx 题目连接 http://codeforces.com/contest/525/problem/E Description Anya loves to fold and stick. Today she decided to do just that. Anya has n c…
http://172.20.6.3/Problem_Show.asp?id=1530 元宵节快要到了,某城市人民公园将举办一次灯展.Dr.Kong准备设计出一个奇妙的展品,他计划将编号为1到N的N(1 <= N <= 35)盏灯放置在一个有M条(1 <= M <= 595)边连接的网络节点上.每盏灯上面都带有一個开关.当按下某一盏灯的开关時,这盏灯本身以及与之有边相连的灯的状态就会改变.状态改变指的是:当一盏灯是亮时,就会被关闭:当一盏灯是关闭时,就会被打开亮着.现在的问题是,你能…