首页
学习
活动
专区
工具
TVP
发布

*坤的Blog

专栏作者
198
文章
207217
阅读量
37
订阅数
hdu1084
#include<iostream> #include<algorithm> using namespace std; #define N 101 struct node { int score; //学生分数 int num; //学生做出的题目数目 char time[10]; //花费时间 } stu[N]; bool cmp(const node& a,const node& b) {
@坤的
2018-06-04
2750
hdu1086
#include <iostream> #include <stdio.h> #include <string.h> #include <stack> #include <queue> #include <map> #include <set> #include <vector> #include <math.h> #include <algorithm> using namespace std; const double pi = acos(-1.0); const int INF = 0x3f3f3f3
@坤的
2018-06-04
4170
hdu1082
#include<iostream> #include<stack> #include<string> #include<cctype> using namespace std; #define N 30 struct node { char m; int r,c; } a[N]; string s; bool process(int& ans) { int len,i; stack<node> sta;
@坤的
2018-06-04
3630
hdu1067
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<queue> using namespace std; #define MAXN 1000007 typedef long long ll; ll Hash[MAXN]; struct Node{ int map[4][8],step; bool operator == (const Node &p) cons
@坤的
2018-06-04
4040
hdu1044
#include <cstdio> #include <cstring> #include <queue> using namespace std; const int maxn=55; int n,m,t,x1,y1,x2,y2; struct node { int x,y; int zb; int step; } ft,et; char ap[maxn][maxn]; int h[11]; bool vis[1100][m
@坤的
2018-06-04
2820
hdu1043
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<vector> #include<cmath> #include<map> #include<string> #define inf 1<<30 #define eps 1e-7 #define LD long double #define LL long long #define maxn 1000000005
@坤的
2018-06-04
4220
hdu1026
#include <stdio.h> #include <string.h> #include <queue> using namespace std; struct node { int x,y,step; friend bool operator<(node n1,node n2) { return n2.step<n1.step; } }; int map[105][105]; int flag[
@坤的
2018-06-04
1720
hdu1006
#include<stdio.h> #include using namespace std; #define INF 0x7fffffff double D; struct node { double l; double r; }s[3][2]; node interval(double a,double b)//解方程D<=|a*s-b|<=360-D { node p; if(a>0) { p.l=(D-b)/a; p.r=(360-D-b)/a; } else { p.l=(360-D-b)/a;
@坤的
2018-06-04
3690
hdu1009
#include <stdio.h> #include <algorithm> using namespace std; struct Node { double j,f,p; } node[10000]; int cmp(Node x,Node y) { return x.p>y.p; } int main() { int m,n; while(~scanf("%d%d",&n,&m) && (m!=-1 || n!=-1)) { double su
@坤的
2018-06-04
4790
hdu1010
#include <stdio.h> #include <string.h> #include <math.h> int n,m,t; char map[10][10]; int flag; int di,dj,wall; int to[4][2] = {{0,-1},{0,1},{-1,0},{1,0}}; void dfs(int si,int sj,int cnt)//深搜 { int i,tem; if(si>n || sj>m || si<=0 || sj <= 0)//出界
@坤的
2018-06-04
4570
没有更多了
社区活动
RAG七天入门训练营
鹅厂大牛手把手带你上手实战,赢鹅厂证书、公仔好礼!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档