上一页 1 ··· 12 13 14 15 16

2015年6月2日

uva 1210

摘要: #include#includeusing namespace std;const int MAXN = 10000 + 10;bool notprime[MAXN];//值为false表示素数,值为true表示非素数int s[MAXN];int c[100000000];void init(){... 阅读全文

posted @ 2015-06-02 11:36 yifi 阅读(211) 评论(0) 推荐(0) 编辑

2015年6月1日

基于UDP的通信 CLient

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

posted @ 2015-06-01 23:15 yifi 阅读(1) 评论(0) 推荐(0) 编辑

基于UDP的通信

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

posted @ 2015-06-01 23:06 yifi 阅读(3) 评论(0) 推荐(0) 编辑

大数相加 用栈

摘要: #include "StdAfx.h"using namespace std;const int Maxn = 1000+10;#define DATA chartypedef struct _STACKNODE_{ DATA* Data; _STACKNODE_* Next; ... 阅读全文

posted @ 2015-06-01 21:29 yifi 阅读(129) 评论(0) 推荐(0) 编辑

一道数学题 hduacm 5144

摘要: 题目大意: 一直初速度v和抛出速度h 求标枪抛出的最远距离;题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5144显然 d=v/g*sqrt(v*v+2*g*h);《此处略去推导过程》 阅读全文

posted @ 2015-06-01 21:28 yifi 阅读(138) 评论(0) 推荐(0) 编辑

上一页 1 ··· 12 13 14 15 16

导航