2016年3月24日
摘要: Problem Description Given two integers n and m, count the number of pairs of integers (a,b) such that 0 0){ int p = 0; ... 阅读全文
posted @ 2016-03-24 21:21 cnxo 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Problem Description Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the for... 阅读全文
posted @ 2016-03-24 20:37 cnxo 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Problem Description Now give you two integers n m, you just tell me the m-th number after radix point in 1/n,for example n=4,the first numble... 阅读全文
posted @ 2016-03-24 19:01 cnxo 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 模拟题, 枚举1002 1004 1013 1015 1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049 1050 1057 1062 1063 1064 1070 1073 1075... 阅读全文
posted @ 2016-03-24 18:43 cnxo 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Problem Description Eddy是个ACMer,他不仅喜欢做ACM题,而且对于Ranklist中每个人的ac数量也有一定的研究,他在无聊时经常在纸上把Ranklist上每个人的ac题目的数量摘录下来,然后从中选择一部分人(或者全部)按照ac的数量分成两组进行比较,他... 阅读全文
posted @ 2016-03-24 18:31 cnxo 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Problem Description Mickey is interested in probability recently. One day , he played a game which is about probability with mini.First micke... 阅读全文
posted @ 2016-03-24 18:06 cnxo 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Problem Description 在网络课程上,我学到了很多有关IP的知识。IP全称叫网际协议,有时我们又用IP来指代我们的IP网络地址,现在IPV4下用一个32位无符号整数来表示,一般用点分方式来显示,点将IP地址分成4个部分,每个部分为8位,表示成一个无符号整数(因此不需... 阅读全文
posted @ 2016-03-24 13:29 cnxo 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Problem Description 有个叫“猪头帮”的国家,采用一种简单的文法加密,他们所用的语言里面只有大写字母,没有其他任何字符;现在还知道他们加密的方法是:只用一个大写字母和原文进行异或运算生成密文。请你帮忙解开。Input 有若干组,每组输入有2行,第一行整数N表示有N... 阅读全文
posted @ 2016-03-24 11:01 cnxo 阅读(268) 评论(0) 推荐(0) 编辑