随笔分类 - 数学思维
摘要:Leftmost DigitTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionGiven a positive integer N, you should...
阅读全文
摘要:Big NumberProblem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure trans...
阅读全文
摘要:题意:给一个字符串,将每个字符分开放进两个口袋,每次从两个口袋分别拿出一个字符,如果相同则开心,问开心的次数期望是多少。分析:数学期望题,然而这是我最不拿手的。。。最后答案是每个字符在字符串出现的次数/字符串长度的和。 1 #include 2 #include 3 #include 4 #i...
阅读全文

浙公网安备 33010602011771号