随笔分类 -  +++字符串

摘要:排名Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 19177Accepted Submission(s): 7033 Problem Descr... 阅读全文
posted @ 2015-12-29 20:59 handsomecui 阅读(364) 评论(0) 推荐(0) 编辑
摘要:Identity CardTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2696Accepted Submission(s): 1048 Pro... 阅读全文
posted @ 2015-12-28 22:27 handsomecui 阅读(962) 评论(0) 推荐(0) 编辑
摘要:1818: squee_spoon and his Cube VITime Limit:1 SecMemory Limit:128 MB Submit:77Solved:22SubmitStatusWeb BoardDescription市面上最常见的魔方,是三阶魔方,英文名为Rubik's Cub... 阅读全文
posted @ 2015-12-10 19:04 handsomecui 阅读(335) 评论(0) 推荐(0) 编辑
摘要:Hidden String Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1679 Accepted Submission(s): 591 阅读全文
posted @ 2015-12-06 14:36 handsomecui 阅读(223) 评论(0) 推荐(0) 编辑
摘要:TEX QuotesTime Limit:1000MSMemory Limit:10000KTotal Submissions:9674Accepted:5073DescriptionTEX is a typesetting language developed by Donald Knuth. I... 阅读全文
posted @ 2015-12-06 14:27 handsomecui 阅读(799) 评论(0) 推荐(0) 编辑
摘要:PalindromeTime Limit: 15000MSMemory Limit: 65536KTotal Submissions: 6183Accepted: 2270DescriptionAndy the smart computer science student was attending... 阅读全文
posted @ 2015-10-25 17:24 handsomecui 阅读(299) 评论(0) 推荐(0) 编辑
摘要:HOT~ 杭电2015级新生如何加入ACM集训队? 最长回文Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12244Accepted Submis... 阅读全文
posted @ 2015-10-25 16:28 handsomecui 阅读(279) 评论(0) 推荐(0) 编辑
摘要:Description A string is said to be a palindrome if it remains same when read backwards. So, 'abba', 'madam' both are palindromes, but 'adam' is not. N 阅读全文
posted @ 2015-10-24 22:10 handsomecui 阅读(337) 评论(0) 推荐(0) 编辑
摘要:例题详解題目:输入的第一行有一个数字 N 代表接下來有 N 行資料,每一行資料里有不固定個數的整數(最多 20 個,每行最大 200 個字元),請你寫一個程式將每行的总和印出來。輸入:31 2 320 17 23 54 77 60111 222 333 444 555 666 777 888 999... 阅读全文
posted @ 2015-10-20 13:23 handsomecui 阅读(204) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/lyq105/archive/2009/11/28/1612677.html 在我的学习过程中,从文件读取数据是一件很麻烦的事,所幸有sscanf()函数。C语言函数sscanf()的用法sscanf() - 从一个字符串中读进与指定格式相符的数据. ... 阅读全文
posted @ 2015-09-24 21:20 handsomecui 阅读(411) 评论(0) 推荐(0) 编辑
摘要:The Hardest Problem EverTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 24039Accepted: 13143DescriptionJulius Caesar lived in a time of dange... 阅读全文
posted @ 2015-09-22 19:18 handsomecui 阅读(806) 评论(0) 推荐(0) 编辑