计算机算法分析与设计
web小奶精
这个作者很懒,什么都没留下…
展开
-
poj1953-斐波拉契数列
World Cup NoiseTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 18309 Accepted: 8895DescriptionBackground "KO-RE-A, KO-RE-A" shout 54.000 happy football fans after their team has reached the ...原创 2018-03-14 21:30:05 · 226 阅读 · 0 评论 -
1029_假硬币
False coinTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20429 Accepted: 5748DescriptionThe "Gold Bar"bank received information from reliable sources that in their last group of N coins exa...转载 2018-03-11 21:04:44 · 187 阅读 · 0 评论 -
poj-1316-非自私数
以文件输出ER,不知原因。但直接输出就通过了。#include<stdio.h> int num[10001]={0}; int main() { /*FILE *f; f=fopen("ans.txt","w"); if(f==NULL) { printf("create file failed\n"); return -1; }*/ in...原创 2018-03-18 17:25:44 · 208 阅读 · 0 评论 -
poj-2479
Maximum sumTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 42649 Accepted: 13275DescriptionGiven a set of n integers: A={a1, a2,..., an}, we define a function d(A) as below:Your task is to c...原创 2018-03-30 16:08:17 · 147 阅读 · 0 评论 -
poj-3624
Charm BraceletTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 44234 Accepted: 18997DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to...原创 2018-03-30 17:09:44 · 249 阅读 · 0 评论 -
poj-2506-填瓷砖
TilingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10753 Accepted: 4996DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rect...原创 2018-03-21 10:13:34 · 268 阅读 · 0 评论 -
poj-1328
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 99975 Accepted: 22202DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in th...原创 2018-04-08 21:27:17 · 1402 阅读 · 5 评论 -
poj-1042
Gone FishingTime Limit: 2000MS Memory Limit: 32768KTotal Submissions: 37233 Accepted: 11574DescriptionJohn is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n la...原创 2018-04-15 20:24:14 · 600 阅读 · 0 评论 -
poj-2488
A Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 49498 Accepted: 16787DescriptionBackground The knight is getting bored of seeing the same black and white squares again and ...原创 2018-04-20 19:48:25 · 177 阅读 · 0 评论