摘要: Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionVanya got n cubes. He decided to build a pyramid from them. Vanya want... 阅读全文
posted @ 2015-07-17 18:57 lee是美少女 阅读(251) 评论(0) 推荐(0) 编辑
摘要: ime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uDescriptionThere is a permutation without two numbers in it, and now you know what ... 阅读全文
posted @ 2015-07-17 15:45 lee是美少女 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluDescription把十进制整数转换为十六进制,格式为0x开头,10~15由大写字母A~F表示。Input每行一个整数x,0>n)或许是while(cin>>n!=... 阅读全文
posted @ 2015-07-17 10:39 lee是美少女 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: You are given the ages (in years) of all people of a country with at least 1 year of age. You know thatno individual in that country lives for 100 or ... 阅读全文
posted @ 2015-07-17 09:53 lee是美少女 阅读(286) 评论(0) 推荐(0) 编辑
摘要: DescriptionA soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so on (in oth... 阅读全文
posted @ 2015-07-17 09:37 lee是美少女 阅读(222) 评论(0) 推荐(0) 编辑