北京大学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
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
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
计时器 Run mode: * - stop 0 - switch on backlight # - suspend/resume joystick - set next result 1-9 - set result for member with this number Inspect mode: *,#,0 - reset and start UP,LEFT - show previous result 1-9 - show result for member with this number
标签: backlight joystick suspend resume
上传时间: 2013-12-12
上传用户:6546544
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
In this book, you will acquire a comprehensive understanding of GIMP Toolkit (GTK+) that can help you to become a proficient graphical programmer. Before continuing, you should be aware that this book is aimed at C programmers, so we will jump right into using GTK+. Time will not be spent covering information you already know.
标签: comprehensive understanding acquire Toolkit
上传时间: 2014-01-22
上传用户:Miyuki
主要源码: void CFDlg::OnChangeEdit1() { UpdateData() m_strExt.MakeUpper() m_list.ResetContent() if(m_strExt.GetLength()==0) return CStdioFile sf if(sf.Open("FileExt.txt",Cfile::modeRead)) { CString strTemp,strOut while(sf.ReadString(strTemp)) { if(strTemp.Left(m_strExt.GetLength()) ==m_strExt) { m_list.AddString(strTemp) } } } sf.Close() m_list.SetCurSel(0) this->OnSelchangeList2() } void CFDlg::OnSelchangeList2() { CString strTemp,strExt m_list.GetText(m_list.GetCurSel(),strTemp) strExt=strTemp.Left(strTemp.FindOneOf(" ")) //MessageBox(strExt) CString strFileName ="eee."+strExt //MessageBox(strFileName) SHFILEINFO shfi memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi)) ::SHGetFileInfo(strFileName, FILE_ATTRIBUTE_NORMAL, &shfi, sizeof(shfi), SHGFI_ICON|SHGFI_USEFILEATTRIBUTES) m_icon.SetIcon(shfi.hIcon) }
标签: OnChangeEdit1 UpdateData ResetConte MakeUpper
上传时间: 2013-12-20
上传用户:zl5712176
Advanced UNIX Programming is the long-awaited (19 years!) update to the 1985 original. Maybe "update" isn t the right word--of the 750-or-so pages in the new book, there are maybe two dozen paragraphs that are unchanged. The original covered about 70 system calls, and the new one covers about 300. (这是Advanced UNIX Programming的附书源码)
标签: update long-awaited Programming the
上传时间: 2013-12-19
上传用户:xiaoxiang
This a sample Plug and Play filter driver that provides WMI data blocks. Typically, driver writers will copy the sample code into their own driver and make any minor modifications so that the WMI data blocks are always available when the driver is loaded. Alternatively, WmiSamp can be left as a filter driver if WMI data blocks should only be made available when the filter driver is loaded.
标签: driver Typically provides writers
上传时间: 2016-08-26
上传用户:talenthn