摘要:
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... 阅读全文
摘要:
Description把十进制整数转换为十六进制,格式为0x开头,10~15由大写字母A~F表示。Input每行一个整数x,0int main(){ int n,i=0; while(scanf("%d",&n)!=EOF) { printf("0x"); pri... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
10763 Foreign ExchangeYour non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordinates a very successful foreign... 阅读全文
摘要:
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... 阅读全文