码迷,mamicode.com
首页 >  
搜索关键字:easy problem from ru    ( 100235个结果
POJ-1011-Sticks
题目链接:http://poj.org/problem?id=1011 这道题用到了深搜+剪枝。 #include #include #include using namespace std; int a[65]; int vis[65]; int n; int cmp(int x,int y) { return x>y; } int dfs(int len,int need,int ...
分类:其他好文   时间:2014-05-05 13:28:57    阅读次数:290
A × B problem
A × B problem Time Limit: 1000 ms   Case Time Limit: 1000 ms   Memory Limit: 64 MB Total Submission: 594   Submission Accepted: 112 Description 给你两个整数,请你计算A × B。 Input 数据的第一行是整数T(1 ≤ T ≤ 20...
分类:其他好文   时间:2014-05-05 13:05:38    阅读次数:301
笨方法学python(5)加分题
这篇对应的是习题16,读写文件 # -*- coding: utf-8 -*- #对文件更多操作复制A文件的内容到B文件 #from sys import argv from os.path import exists prompt = "> " from_file = raw_input("please input the filename where you want to copy...
分类:编程语言   时间:2014-05-05 12:54:02    阅读次数:402
NYOJ 括号匹配系列2,5
本文出自:http://blog.csdn.net/svitter 括号匹配一:http://acm.nyist.net/JudgeOnline/problem.php?pid=2 括号匹配二:http://acm.nyist.net/JudgeOnline/problem.php?pid=15 之前被这个题目难住,现在看动态规划就顺便过来AC了它。结果发现当年被难住一点...
分类:其他好文   时间:2014-05-03 23:52:18    阅读次数:408
python for android : BeautifulSoup 有 bug
BeautifulSoup 善于网页数据分析 ,但是 python for android : BeautifulSoup 有 bug , text = h4.a.text 只能取得 None,所以我写了function: getText() 来fix this bug. 例如: 抓取CSDN极客头条内容  soup.py import urllib2, re from Beau...
分类:移动开发   时间:2014-05-03 17:33:08    阅读次数:427
poj1598
Excuses, Excuses! Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 3615   Accepted: 1254 Description Judge Ito is having a problem with people subpoenaed fo...
分类:其他好文   时间:2014-05-03 17:10:03    阅读次数:278
Hrbust1053 Warcraft III (完全背包)
本文出自:http://blog.csdn.net/svitter 原题:http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1053 题意:完全背包不解释。。直接贴代码。。 #include #include #include using namespace std; #defi...
分类:其他好文   时间:2014-05-03 16:06:14    阅读次数:324
Visual 3D Modeling from Images
AcknowledgmentsNotationsContentsIntroduction 3D from imagesOverview Projective geometry Projective geometry The projective planeProjective 3-spaceTransformationsConics and quadrics The st...
分类:其他好文   时间:2014-05-03 15:45:32    阅读次数:584
UVA之11549 - Calculator Conundrum
【题目】 Problem C CALCULATOR CONUNDRUM Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster. She enters a number k t...
分类:其他好文   时间:2014-05-03 15:37:03    阅读次数:308
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!