上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: 食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 68327 Accepted: 20199 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动 阅读全文
posted @ 2017-03-04 17:53 KennyRom 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Palindrome Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 62102 Accepted: 21643 Description A palindrome is a symmetrical string, that is, 阅读全文
posted @ 2017-03-01 23:26 KennyRom 阅读(208) 评论(0) 推荐(0) 编辑
摘要: The Triangle Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 47278 Accepted: 28608 Description 73 88 1 02 7 4 44 5 2 6 5(Figure 1) Figure 1 阅读全文
posted @ 2017-02-28 00:22 KennyRom 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include using std::vector; //Vector is a container. //It has a collection of same type objects. //****************************************************** //Defining and Initializing vectors vector... 阅读全文
posted @ 2017-02-21 22:44 KennyRom 阅读(189) 评论(0) 推荐(0) 编辑
摘要: The C standard doesn't precisely define which type of right shift should be used. For unsigned data, right shift must be logical. For signed data, alm 阅读全文
posted @ 2017-02-21 22:02 KennyRom 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Using a mask, multiple bits in a nibble, byte, words can be set either on, off or inverted from on to off (or vice versa) in a single bitwise operatio 阅读全文
posted @ 2017-02-21 20:45 KennyRom 阅读(219) 评论(0) 推荐(0) 编辑
摘要: The ASCII is only suitable for encoding English-language documents. It's hard for us to encode the special character. The Unicode Consortium has devis 阅读全文
posted @ 2017-02-21 18:27 KennyRom 阅读(192) 评论(0) 推荐(0) 编辑
摘要: In order to use string type, we need to include the following code 1. Defining and initializing strings 2. Operations on strings 3. Dealing with the C 阅读全文
posted @ 2017-02-20 23:26 KennyRom 阅读(221) 评论(0) 推荐(0) 编辑
摘要: for (declaration : expression) statement; /* This statement will iterate through the elements in the given expression. expression: an object of a type that represents a sequence declaration: defines... 阅读全文
posted @ 2017-02-20 23:10 KennyRom 阅读(281) 评论(0) 推荐(0) 编辑
摘要: If we want to use cin in the standard library, we need to To simplify this work, we can do like this * Headers should not include using Declarations W 阅读全文
posted @ 2017-02-20 21:40 KennyRom 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页