码迷,mamicode.com
首页 >  
搜索关键字:poj 1742 hdu 2844    ( 50843个结果
POJ 1503 Integer Inquiry(大数相加,java)
题目我要开始练习一些java的简单编程了^v^import java.io.*;import java.util.*;import java.math.*;public class Main { /** * @param args */ public static voi...
分类:编程语言   时间:2014-05-01 10:03:42    阅读次数:411
hdu 1233 还是畅通工程
简单最小生成树,继续我的kruskal#include#include#include#includeusing namespace std;const int MAX=1000000;struct node{ int left,right,cost;}road[MAX];bool cmp(n...
分类:其他好文   时间:2014-05-01 09:28:42    阅读次数:333
POJ 2443 - Set Operation
注意变换思维,然后就是水题。(如果卡时还可以进一步二分优化。)#include long existed[10000][32];int main(void){ int N;// freopen("poj2443.txt", "r", stdin); scanf("%d", &N);...
分类:其他好文   时间:2014-05-01 09:15:47    阅读次数:373
hdu 1232 畅通工程
又是一道简单并查集#include#include#include#include#include#include#include#include#include#include#include#define inf 0x0f0f0f0fusing namespace std;const doub....
分类:其他好文   时间:2014-05-01 09:12:36    阅读次数:289
POJ 3107 - Godfather
本题与POJ 1655的区别是要把所有重心的点按顺序输出出来。// poj3107 Godfather#include #include #define NDEBUG#define MAXN 50005using namespace std;int N;int edgefw[MAXN*2], ...
分类:其他好文   时间:2014-05-01 08:53:09    阅读次数:284
hdu 2141 Can you find it?
Can you find it? Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 9863    Accepted Submission(s): 2587 Problem Description Give you...
分类:其他好文   时间:2014-04-29 13:33:20    阅读次数:300
HDU 2295 DLX 二分
Radar Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2229    Accepted Submission(s): 888 Problem Description N cities of the Java Kin...
分类:其他好文   时间:2014-04-29 13:26:20    阅读次数:346
HDU-2850-Load Balancing(贪心)
Problem Description In the Wide Web World, Which web server was popular in web site? Apache, nginx, lighttpd? Baidu.com use Apache, and many web sites like 163.com use nginx. Why? Its configuration i...
分类:其他好文   时间:2014-04-29 13:24:20    阅读次数:355
poj 3069 Saruman's Army(贪心)
?? Saruman's Army Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3446   Accepted: 1752 Description Saruman the White must lead his army along a straight pa...
分类:其他好文   时间:2014-04-29 13:22:23    阅读次数:264
[ACM] poj 2456 Aggressive cows (二分查找)
Aggressive cows Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5436   Accepted: 2720 Description Farmer John has built a new long barn, with N (2 <= N <= 100,...
分类:其他好文   时间:2014-04-29 13:22:21    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!