07 2015 档案
摘要:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1A + B ProblemTime Limit:2 Seconds Memory Limit:65536 KBCalculate a + bInputThe input will ...
阅读全文
摘要:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=37GridlandTime Limit:2 Seconds Memory Limit:65536 KBBackgroundFor years, computer scientist...
阅读全文
摘要:http://codeforces.com/problemset/problem/499/AA. Watching a movieYou have decided to watch the best moments of some movie. There are two buttons on yo...
阅读全文
摘要:http://codeforces.com/problemset/problem/478/BB. Random Teamsnparticipants of the competition were split intomteams in some manner so that each team h...
阅读全文
摘要:终有一天我手中的编译器将成为我灵魂的一部分,这世界在我的眼中将被代码重构,我将看到山川无尽银河无垠都汇成二进制的数字河流,过往英雄都在我脑海眼前一一浮现,而我听到无数码农跪倒在我的程序面前呼喊。他们叫我代码之神。到那个时候,我想我一定可以找回你。一丶这是一个属于代码的修真世界。这世界里的每一个人,每...
阅读全文
摘要:1.1 Python中的线程使用1.1.1 函数式1.2 创建threading.Thread的子类来包装一个线程对象1.2.1 threading.Thread类的使用1.3 线程优先级队列(Queue)1.4 thread对象中的一些方法1.4.1 join方法1.4.2 setDaemon()
阅读全文
摘要:对于字符串,我想,第一想法是以0结尾的ANSI单字节字符数组。然而有些语言文字系统的字符集容量巨大,一个字节最多能表示256个符号,显得不够用。于是产生了DBCS,但其单双字节混用,犹如恶梦,我们鄙弃之,转而研究Unicode编码。 在windows Vista中,每个Unicode字符都使用...
阅读全文
摘要:http://codeforces.com/problemset/problem/499/BB. LectureYou have a new professor of graph theory and he speaks very quickly. You come up with the foll...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2516 取石子游戏 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(
阅读全文
摘要:http://poj.org/problem?id=1067 取石子游戏 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 36753 Accepted: 12446 Description 有两堆石子,数量任意,可以不同。游戏开始
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1710 Binary Tree Traversals Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=3999 The order of a Tree Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tot
阅读全文
摘要:一、目的:此文通过一个GPA计算器的制作,介绍基于对话框的应用程序的编程方法、常用控件的编程技巧以及控件外观的更改技巧。二、功能描述:所谓GPA计算器,即进行GPA换算。 功能要求由如下几点: 1.学生成绩可以由文件导入。 2.GPA标准可以选择,也可以手动输入。 3.GPA的计算过程易于监...
阅读全文
摘要:一、基于Microsoft MFC的编程方法MFC是微软基础类库(Microsoft Foundation Class)的缩写。与API不同,MFC不是Windows操作系统的组成部分,而是微软公司专为VC++开发的配套软件包。与VC6配套的是MFC6.0。MFC充分使用了面向对象方法中的继承和多态...
阅读全文
摘要:http://acm.uestc.edu.cn/#/problem/show/915 方老师的分身 II 方老师的分身 II Time Limit: 10000/5000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit
阅读全文
摘要:http://acm.uestc.edu.cn/#/problem/show/913握手Time Limit: 2000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus一群人参加了一次聚会,其中有...
阅读全文
摘要:http://acm.uestc.edu.cn/#/problem/show/916方老师的分身 IIITime Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus一天的讲座结...
阅读全文