摘要:
描述szhhck have an old calculator bought 5 years ago.he find the old machine can just calculate expressions like this :A-B、A+B、A*B、A/B、A%B.because it is... 阅读全文
摘要:
描述Topcoder 招进来了 n 个新同学,Yougth计划把这个n个同学分成两组,要求每组中每个人必须跟另一组中每个同学进行一次算法对决,问存不存在一种分组方式在k场完成对决。(两组中每一组中人数都要大于0)输入有多组测试数据,每组测试数据两个数 n 和 k ,n和k都为0时表示输入结束。(0 ... 阅读全文
摘要:
描述Mr. B, Mr. G and Mr. M are now in Warsaw, Poland, for the 2012’s ACM-ICPC World Finals Contest. They’ve decided to take a 5 hours training every day... 阅读全文