- 博客(8)
- 收藏
- 关注
原创 LA4043
#include #include #include #include using namespace std;#define maxn 110#define esp 1e-8double inf=1000000.0;double dis(double x1,double y1,double x2,double y2){ return s
2014-05-21 16:42:46 509
原创 poj3897
#include <iostream>#include <cstring>#include <queue>#include <cstdio>#include <cmath>#include <string>using namespace std;#define eps 1e-8#define maxn 105...
2014-05-11 20:07:47 586
原创 poj3254
#include using namespace std;#define mod 100000000#define maxn (112)+1bool map[14][14];int dp[2][maxn];int n,m;int son[maxn];void dfs(int x,int k,int y,int& top,bool can[]){ if(k>m)
2014-05-09 12:22:40 396
原创 poj1305
#include #include #include #include #include #include using namespace std; mapstring,int>mp;#define maxn 10000 +10string s[maxn];int main(){ int top=0; for(;cin>>s[top];) { if(s[to
2014-05-07 13:22:36 443
原创 poj1019
#include #include #include #include #include using namespace std; //buzhida typedef long long int LLint; int main() { int kase; LLint n; for(cin>>kase;kase--;)
2014-05-06 21:35:48 425
原创 poj1017
#include using namespace std;int main(){ int a[6]; while(cin>>a[0]) { int sum=a[0]; for(int i=1;i6;i++)cin>>a[i],sum+=a[i];
2014-05-06 18:27:31 405
原创 poj1061
#include using namespace std; typedef long long int LLint; LLint exgcd(LLint a,LLint b,LLint& x,LLint& y) { if(!b){x=1,y=0;return a;} else { LLint d=exg
2014-05-05 18:22:18 385
原创 hdu3711
123456789101112131415161718192021222324252627282930313233343536373839 #include #include using namespace std; int
2014-05-04 21:50:52 371
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人