摘要:
Problem G Big Chocolate Mohammad has recently visited Switzerland . As he loves his friends very much, he decided to buy some chocolate for them, but ... 阅读全文
posted @ 2015-07-17 21:27
lee是美少女
阅读(193)
评论(0)
推荐(0)
摘要:
Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluDescription有三户人家共拥有一座花园,每户人家的太太均需帮忙整理花园。A 太太工作了5 天,B 太太则工作了4 天,才将花园整理完毕。C 太太因为正身怀六甲... 阅读全文
posted @ 2015-07-17 21:20
lee是美少女
阅读(162)
评论(0)
推荐(0)
摘要:
Once upon a time, there is a special coco-cola store. If you return three empty bottles to the shop,you’ll get a full bottle of coco-cola to drink. If... 阅读全文
posted @ 2015-07-17 21:11
lee是美少女
阅读(204)
评论(0)
推荐(0)
摘要:
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是美少女
阅读(255)
评论(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是美少女
阅读(166)
评论(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是美少女
阅读(1141)
评论(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是美少女
阅读(289)
评论(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是美少女
阅读(227)
评论(0)
推荐(0)