ACM-其他
文章平均质量分 83
kjcsdnblog
新人求罩
展开
-
uva 10862 Connect the Cable Wires大整数类c++
1: 12:1+(1+1)3:1+2+(2+3)4:1+2+5+(5+8)而斐波那契数列1 1 2 3 5 8……因此推出a[n]=a[n-1]+fib[2*i-1]+fib[2*1-2];java代码import java.util.*;import java.math.*;public class Main { public static void main(原创 2015-03-05 18:23:03 · 376 阅读 · 0 评论 -
poj 2607
Fire StationTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 3846 Accepted: 1362DescriptionA city is served by a number of fire stations. Some resident原创 2015-01-31 15:42:51 · 379 阅读 · 0 评论 -
poj1511 Invitation Cards (前向星?)
Invitation CardsTime Limit: 8000MS Memory Limit: 262144KTotal Submissions: 20249 Accepted: 6618DescriptionIn the age of television, not many people attend theat原创 2015-01-29 22:26:08 · 394 阅读 · 0 评论 -
简单通讯录
#include #include #define N 100using namespace std;int counter=1;struct txt{ char name[N][N]; char place[N][N]; char tel[N][N]; char email[N][N];};txt add;void Add(){ co原创 2014-06-04 23:01:51 · 484 阅读 · 0 评论