摘要:
转自 农夫三拳 的blog数的划分 /**//*http://acm.hnu.cn:8080/online/?action=problem&type=show&id=10390*/#include <iostream>#include <vector>using namespace std;long long r[221][11][221];int f(int m, int n, int c){ //只要分成两列,在首位数字确定的情况下只可能有一种分法 if( n <= 2 ) return 1; int i; int result = 0; in 阅读全文
阅读排行榜
How to do Application Initialization while showing a SplashScreen
2007-08-17 19:29 by OntheMars, 164 阅读, 收藏,
摘要:
网上看到的文章讲的很详细转载一下How to do Application Initialization while showing a SplashScreenBy matthias s.. , etc) -->Update 28.01.03This article has been updated with Chris Austin's suggestion (Thanks Chris! And thanks to Phil Bolduc for the fix on Chris' stuff ;)) and an alternative (multithreaded 阅读全文
近期总结&计划
2008-04-25 09:09 by OntheMars, 156 阅读, 收藏,
摘要:
虽然这个学期事情很多,不过却感到很充实。跟老师做了2个srp项目学到了不少东西,实践出真知确实是硬道理。 参加了学校的实习招聘会,第一次被企业面试,有些收获。 认识了一位已经毕业的师兄,只比我高2级,现在和几个师兄一起创业。公司就开在学校,条件虽然艰苦,人却充满激情,也是他的激情吸引了我。现在帮他们公司做内部管理系统,顺便学了下asp.net和sql sever这两样一直被我“鄙视”的技术。说道“鄙视”其实只是感觉这两种技术含量不高,没挑战。不过深入一点学习后发现它们其实还是有挑战的:-)。 学校机器人足球队那边也要开始忙了努力,加油! 近期计划: 1 整理机器里面的资料然后发到blog上资源 阅读全文
Dynamic Programming
2008-03-29 00:03 by OntheMars, 148 阅读, 收藏,
摘要:
From http://ace.delos.com经典贴Introduction Dynamic programming is a confusing name for a programming technique that dramatically reduces the runtime of algorithms: from exponential to polynomial. The basic idea is to try to avoid solving the same problem or subproblem twice. Here is a problem to demon 阅读全文
哈夫曼树
2008-02-18 01:42 by OntheMars, 148 阅读, 收藏,
摘要:
转自 极光炫影 的blog/*http://coder.buct.edu.cn:8080/JudgeOnline/showproblem?problem_id=1078*/好久没有做题目了, 找了一个哈夫曼树的题目。#include <iostream>#include <functional>#include <algorithm>#include <vector>using namespace std;int main(){ int n, e; vector<int> s; int i; int total; while(cin 阅读全文
浙公网安备 33010602011771号