摘要: Problem BBroken Keyboard (a.k.a. Beiju Text)You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem with the... 阅读全文
posted @ 2014-11-26 10:20 闪光阳 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 class Node { 9 public: 10 int row,col; 11 int value; ... 阅读全文
posted @ 2014-11-23 15:48 闪光阳 阅读(759) 评论(1) 推荐(0) 编辑
摘要: A 题 十六进制转换(hex)看起来是一个水题,可是事实上确实是个水题。如果你按照题目的意思来,先把16进制转化成10进制,再把10进制转换成8进制,不好写。所以从2进制的思想看16进制的数每一个数都是由4位二进制组成,然而8进制数是有3位二进制组成,所以我们大可把16进制先转成2进制,在从 二进制... 阅读全文
posted @ 2014-11-23 13:13 闪光阳 阅读(452) 评论(0) 推荐(0) 编辑
摘要: The figure shown on the left isleft-right symmetricas it is possible to fold the sheet of paper along avertical line, drawn as a dashed line, and to c... 阅读全文
posted @ 2014-11-21 15:25 闪光阳 阅读(350) 评论(0) 推荐(0) 编辑
摘要: Problem EForeign ExchangeInput:standard inputOutput:standard outputTime Limit:1 secondYour non-profit organization (iCORE-internationalConfederation o... 阅读全文
posted @ 2014-11-21 10:50 闪光阳 阅读(146) 评论(0) 推荐(0) 编辑
摘要: You are working in a team that writes Incredibly Customizable Programming Codewriter (ICPC) which is basically a text editor with bells and whistles. ... 阅读全文
posted @ 2014-11-20 20:26 闪光阳 阅读(426) 评论(0) 推荐(0) 编辑
摘要: Urban ElevationsAn elevation of a collection of buildings is an orthogonal projection of the buildings onto a vertical plane. An external elevation of... 阅读全文
posted @ 2014-11-20 19:29 闪光阳 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Updating a DictionaryIn this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative in... 阅读全文
posted @ 2014-11-18 22:54 闪光阳 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Problem E: Compound WordsYou are to find all the two-word compound words in a dictionary. A two-word compound word is a word in the dictionary that is... 阅读全文
posted @ 2014-11-18 18:34 闪光阳 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接uva 12096 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include//set_union函数在这个头文件里面;10 using names... 阅读全文
posted @ 2014-11-17 22:15 闪光阳 阅读(237) 评论(0) 推荐(0) 编辑