上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页
  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 阅读(102) 评论(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 阅读(120) 评论(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 阅读(227) 评论(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 阅读(238) 评论(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 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Problem Description 在网络课程上,我学到了很多有关IP的知识。IP全称叫网际协议,有时我们又用IP来指代我们的IP网络地址,现在IPV4下用一个32位无符号整数来表示,一般用点分方式来显示,点将IP地址分成4个部分,每个部分为8位,表示成一个无符号整数(因此不需... 阅读全文
posted @ 2016-03-24 13:29 cnxo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Problem Description 有个叫“猪头帮”的国家,采用一种简单的文法加密,他们所用的语言里面只有大写字母,没有其他任何字符;现在还知道他们加密的方法是:只用一个大写字母和原文进行异或运算生成密文。请你帮忙解开。Input 有若干组,每组输入有2行,第一行整数N表示有N... 阅读全文
posted @ 2016-03-24 11:01 cnxo 阅读(267) 评论(0) 推荐(0) 编辑
  2016年3月23日
摘要: Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含... 阅读全文
posted @ 2016-03-23 10:58 cnxo 阅读(99) 评论(0) 推荐(0) 编辑
摘要: Problem Description 有二个整数,它们加起来等于某个整数,乘起来又等于另一个整数,它们到底是真还是假,也就是这种整数到底存不存在,实在有点吃不准,你能快速回答吗?看来只能通过编程。 例如: x + y = 9,x * y = 15 ? 找不到这样的整数x和y 1+... 阅读全文
posted @ 2016-03-23 10:23 cnxo 阅读(248) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页