码迷,mamicode.com
首页 >  
搜索关键字:zoj 3632 watermelon    ( 3474个结果
zoj 1586
//zoj 1586#include#includeusing namespace std;#define N 1005int a[N][N],low[N],n,ans;int b[N];int min(int x,int y){ return x#includeusing namespace...
分类:其他好文   时间:2014-08-10 21:17:50    阅读次数:348
zoj 2724
#include #include #include #include #include using namespace std;struct node{ char msg[20]; int a,b;};struct cmp{ bool operator()(const node ...
分类:其他好文   时间:2014-08-10 21:17:20    阅读次数:214
zoj 1010 (线段相交判断+多边形求面积)
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=10AreaTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeJerry, a middle school.....
分类:其他好文   时间:2014-08-10 21:17:00    阅读次数:404
zoj 1649
//hnldyhy(303882171) 11:12:46// zoj 1649//bfs +优先队列#include #include #include using namespace std;struct node{ int x; int y; int step;};bool...
分类:其他好文   时间:2014-08-10 21:16:00    阅读次数:342
zoj 1372
#include#includeusing namespace std;#define N 1005int a[N][N],low[N],n,ans;int b[N];int min(int x,int y){ return xci) { a[ai-1][bi-1]=c...
分类:其他好文   时间:2014-08-10 21:15:00    阅读次数:184
zoj 1760
#include#includeusing namespace std;int main(void){ while(true) { set s; int n, doubles = 0; while(cin>>n && n) { if(n == -1) ...
分类:其他好文   时间:2014-08-10 21:11:20    阅读次数:298
poj 2246 递归 zoj 1094
#include #include #include #include #include #include using namespace std;struct node{ int m,n; // bool f;};node hash[200];char s[1000];int main(...
分类:其他好文   时间:2014-08-10 21:10:11    阅读次数:345
zoj 2110 Tempter of the Bone
// zoj 2110#include #include #include using namespace std;char map[9][9]; //迷宫地图int n,m,t; //迷宫的大小,及迷宫的门会在第t...
分类:其他好文   时间:2014-08-10 21:05:30    阅读次数:334
zoj 2104
#include #include #include #include using namespace std;int main(){ int n,i,j; string s; mapm; map :: iterator it,it2; while(cin>>n...
分类:其他好文   时间:2014-08-10 21:05:10    阅读次数:250
ZOJ2599:Graduated Lexicographical Ordering(非常经典的数位DP)
Consider integer numbers from 1 to n. Let us call the sum of digits of an integer number its weight. Denote the weight of the number x as w(x). Now let us order the numbers using so called graduated ...
分类:其他好文   时间:2014-08-10 18:47:20    阅读次数:406
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!