北京大学ACM比赛题目 In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be written as the sum of two odd prime numbers. For example: 8 = 3 + 5. Both 3 and 5 are odd prime numbers. 20 = 3 + 17 = 7 + 13. 42 = 5 + 37 = 11 + 31 = 13 + 29 = 19 + 23. Today it is still unproven whether the conjecture is right. (Oh wait, I have the proof of course, but it is too long to write it on the margin of this page.) Anyway, your task is now to verify Goldbach s conjecture for all even numbers less than a million.
标签: mathematician Christian Goldbach Leonhard
上传时间: 2016-04-22
上传用户:wangchong
北京大学ACM比赛题目 Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down the left node until the last level, and we can also find the maximum number by going down the right node. Now you are given some queries as "What are the minimum and maximum numbers in the subtree whose root node is X?" Please try to find answers for there queries.
标签: the Consider infinite numbers
上传时间: 2013-12-16
上传用户:日光微澜
WinChat was created in late 2000 by Spectre, DeMENted and Unique_T. You can connect to WinChat.Net by pointing your IRC client at irc.winchat.net. Or you can start a Java client right now.
标签: WinChat DeMENted Unique_T Spectre
上传时间: 2016-04-24
上传用户:zhangyi99104144
程序显示一个书签和两个按钮,按下left按钮,标签显示left,按下right按钮,标签显示right
上传时间: 2013-12-21
上传用户:许小华
A framework written in Java for implementing high-level and dynamic languages, compiling them into Java bytecodes. An implementation of Scheme, which is in the Lisp family of programming languages. Kawa is a featureful dialect in its own right, and additionally provides very useful integration with Java. It can be used as a “scripting language”, but includes a compiler and all the benefits of a “real” programming language, including optional static typing.
标签: implementing high-level framework compiling
上传时间: 2014-01-05
上传用户:libinxny
linux下用C语言写的聊天程序!/*BUG and NOTE: Not join protect to Shared Memory Segments,example Semaphore Arrays. Not check the parameters validity. When transmit may be error. If the client program no right exit,others cannot know,the service program shouldbe check the client program whether exist timing. The program when exit(), it do not delete the Shared Memory Segments,you maybe use atexit() but the program have some processes. When one process is exit(),others is continue. The service program s action is few. And so on. */
标签: Semaphore Segments example protect
上传时间: 2014-01-25
上传用户:xhz1993
% DYNMODES calculates ocean dynamic vertical modes % taking a column vector of Brunt-Vaisala values (Nsq) at % different pressures (p) and calculating some number of % dynamic modes (nmodes). % Note: The input pressures need not be uniformly spaced, % and the deepest pressure is assumed to be the bottom.
标签: Brunt-Vaisala calculates DYNMODES vertical
上传时间: 2013-12-06
上传用户:busterman
Design and test a category called Rectangle rectangular, rectangular attribute to the lower left corner of the upper-right corner and the coordinates of two points, to calculate the size of rectangular
标签: rectangular Rectangle attribute category
上传时间: 2013-12-09
上传用户:sssl
Proceedings of Practice of Interesting Algorithms 2007 The editor assumes no responsibility for the accuracy, completeness or usefulness of the information disclosed in this volume. Unauthorized use might infringe on privately owned patents of publication right. Please contact the individual authors for permission to reprint or otherwise use information from their papers. First edition 2007 Publication Planned by Prof. Wenxin Li Edited by Yili Zhao All rights reserved by Artificial Intelligence Laboratory, Peking University June 26, 2007
标签: responsibility Proceedings Interesting Algorithms
上传时间: 2016-06-28
上传用户:wyc199288
1.开发环境: SunShine留言本v1.0所采用的开发环境为:J2SDK1.42+TOMCAT5.0+ACCESS2000 2.安装说明: SunShine留言本v1.0所有数据均采用数据库存储,采用JDBC连接池,直接连接数据库,不需要配置ODBC数据源即可直接运行。 3.运行环境: SunShine留言本v1.0是基于JSP/JavaBean开发的一套留言本系统,正常使用该软件您必须保证您的服务器满足如下要求: ①系统环境:J2SDK+TOMCAT或更高版本 ②数据库:ACCESS2000或更高版本 ③客户端:使用Windows系统+IE5.0或更高版本 4.管理留言: SunShine留言本v1.0默认的管理员ID:admin;管理员密码:adminSNDG 特别说明: SunShine留言本v1.0使用者只需将您网站的top.htm和bottom.htm文件替换SunShine留言本v1.0中的文件即可使其为您的网站服务。
标签: SunShine 1.0 ACCESS TOMCAT
上传时间: 2016-07-07
上传用户:金宜