blockhouses时间限制:1000ms | 内存限制:65535KB难度:3描述Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and...
对决时间限制:1000ms | 内存限制:65535KB难度:0描述Topcoder要招进来了 n 个新同学,Yougth计划把这个n个同学分成两组,要求每组中每个人必须跟另一组中每个同学进行一次算法对决,问存不存在一种分组方式在k场完成对决。(两组中每一组中人数都要大于0)输入有多组测试数据,每组...
cigarettes时间限制:3000ms | 内存限制:65535KB难度:2描述Tom has many cigarettes. We hypothesized that he has n cigarettes and smokes themone by one keeping all the ...