
ACM-其他
文章平均质量分 83
kjcsdnblog
新人求罩
展开
-
uva 10862 Connect the Cable Wires大整数类c++
1: 1 2: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 · 409 阅读 · 0 评论 -
poj 2607
Fire Station Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 3846 Accepted: 1362 Description A city is served by a number of fire stations. Some resident原创 2015-01-31 15:42:51 · 412 阅读 · 0 评论 -
poj1511 Invitation Cards (前向星?)
Invitation Cards Time Limit: 8000MS Memory Limit: 262144K Total Submissions: 20249 Accepted: 6618 Description In the age of television, not many people attend theat原创 2015-01-29 22:26:08 · 415 阅读 · 0 评论 -
简单通讯录
#include #include #define N 100 using 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 · 735 阅读 · 0 评论