2015年6月3日

心情

该文被密码保护。 阅读全文

posted @ 2015-06-03 01:05 yifi 阅读(5) 评论(0) 推荐(0) 编辑

铁人系列(2)LA2218

摘要: 思路:对于每个人 都会有n-1个半片面 加上x>0,y>0,1-x-y>0(这里的1抽象为总长)代码是粘贴的 原来写的不见了 orz............// LA2218 Triathlon// Rujia Liu#include #include #include #include using... 阅读全文

posted @ 2015-06-03 00:54 yifi 阅读(203) 评论(0) 推荐(0) 编辑

铁人系列 (1) uva 10385

摘要: uva 10385列出n-1个一元方程,对应成单峰函数,所以用三分求解即可。#include #include #include using namespace std;const int maxn = 30;int N;double L, vr[maxn], vk[maxn];void init ... 阅读全文

posted @ 2015-06-03 00:46 yifi 阅读(171) 评论(0) 推荐(0) 编辑

数据结构基础

摘要: #include #include using namespace std;typedef struct _NODE_{ _NODE_* pRight; _NODE_* pLeft; int e; int Count; void InitMember(int e) ... 阅读全文

posted @ 2015-06-03 00:15 yifi 阅读(178) 评论(0) 推荐(0) 编辑

基于TCP的通信 客户端

摘要: #include #include // socket 套接字#pragma comment (lib,"Ws2_32") //library DWORD WINAPI ThreadInput(LPVOID lpParam);DWORD WINAPI ThreadOutput(LPVOI... 阅读全文

posted @ 2015-06-03 00:12 yifi 阅读(303) 评论(0) 推荐(0) 编辑

基于TCP的通信 服务端

该文被密码保护。 阅读全文

posted @ 2015-06-03 00:10 yifi 阅读(0) 评论(0) 推荐(0) 编辑

hduacm 5255

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5255枚举a和c 求解b#include #include #include #include #include using namespace std ;typedef long long LL ;#define... 阅读全文

posted @ 2015-06-03 00:08 yifi 阅读(154) 评论(0) 推荐(0) 编辑

导航