上一页 1 ··· 3 4 5 6 7
摘要: 11877 The Coco-ColaStore 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... 阅读全文
posted @ 2015-07-17 19:04 简约。 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Description把十进制整数转换为十六进制,格式为0x开头,10~15由大写字母A~F表示。Input每行一个整数x,0int main(){ int n,i=0; while(scanf("%d",&n)!=EOF) { printf("0x"); pri... 阅读全文
posted @ 2015-07-17 17:09 简约。 阅读(89) 评论(0) 推荐(0) 编辑
摘要: DescriptionVanya gotncubes. He decided to build a pyramid from them. Vanya wants to build the pyramid as follows: the top level of the pyramid must co... 阅读全文
posted @ 2015-07-17 16:59 简约。 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 11462 AgeSort You are given the ages (in years) of all people of a country with at least 1 year of age. You know that no individual in that country li... 阅读全文
posted @ 2015-07-17 16:27 简约。 阅读(158) 评论(0) 推荐(0) 编辑
摘要: DescriptionA soldier wants to buywbananas in the shop. He has to paykdollars for the first banana,2kdollars for the second one and so on (in other wor... 阅读全文
posted @ 2015-07-17 16:07 简约。 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 10763 Foreign ExchangeYour non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordinates a very successful foreign... 阅读全文
posted @ 2015-07-17 15:51 简约。 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 10935 Throwing cards away I Given is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The following operati... 阅读全文
posted @ 2015-07-17 15:33 简约。 阅读(178) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7