14年暑假准备
文章平均质量分 88
Unicoe
这个作者很懒,什么都没留下…
展开
-
uva350 - Pseudo-Random Numbers
Computers normally cannot generate really random numbers, but frequently are used to generate sequences of pseudo-random numbers. These are generated by some algorithm, but appear for all practical pu原创 2014-07-17 16:22:21 · 682 阅读 · 0 评论 -
uva568-Just the Facts
Just the Facts The expression N!, read as ``N factorial," denotes the product of the first N positive integers, where N is nonnegative. So, for example,NN!01原创 2014-07-17 16:19:10 · 519 阅读 · 0 评论 -
数论uva575-Skew Binary
Skew Binary When a number is expressed in decimal, the k-th digit represents a multiple of 10k. (Digits are numbered from right to left, where the least significant digit is number 0.) F原创 2014-07-17 16:10:25 · 486 阅读 · 0 评论 -
HDOJ-3068最长回文
Problem Description给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度.回文就是正反读都是一样的字符串,如aba, abba等 Input输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组成的字符串S两组case之间由空行隔开(该空行不用处理)字符串长度len原创 2014-06-29 10:55:44 · 610 阅读 · 0 评论 -
收藏高精度模板
/**********************************高精度加,减,乘,除,取模,模板**********************************/#include #include using namespace std;inline int compare(string str1, string str2){ if(str1.size() >转载 2014-07-01 17:24:23 · 573 阅读 · 0 评论 -
2014暑假第一天解题总结
UVa10878(Decode the tape)这个题他的题目原创 2014-07-01 16:47:00 · 500 阅读 · 0 评论 -
strchr与sprintf的用法学习
小白中第三章就有s't'r'ch'r原创 2014-06-12 16:26:07 · 609 阅读 · 0 评论