关闭

Power Strings poj2406 (kmp 进阶 next数组使用)

Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 46647   Accepted: 19516 Description Given two strings a and b we define a*b to be their concate...
阅读(60) 评论(0)

Check the difficulty of problems (概率DP)poj2151

Check the difficulty of problems Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 7104   Accepted: 3078 Description Organizing a programming contest is not an...
阅读(143) 评论(0)

Sudoku poj2676 (dfs)

Sudoku Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 19520   Accepted: 9359   Special Judge Description Sudoku is a very simple task. A square table wi...
阅读(140) 评论(0)

Channel Allocation poj1129 (深搜/四色/枚举)

Channel Allocation Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 15064   Accepted: 7655 Description When a radio station is broadcasting over a very larg...
阅读(195) 评论(0)

Area poj1265 (pick公式+网格)

Area Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 6457   Accepted: 2823 Description Being well known for its highly innovative products, Merck would def...
阅读(103) 评论(0)

River Hopscotch poj3258 (二分+贪心思想+最小值最大化)

River Hopscotch Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 12390   Accepted: 5306 Description Every year the cows hold an event featuring a peculiar v...
阅读(133) 评论(0)

Number Sequence poj1019(数学方法)

Number Sequence Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 39182   Accepted: 11366 Description A single positive integer i is given. Write a program t...
阅读(103) 评论(0)

The Moronic Cowmpouter poj3191(负进制转换以及其他进制转换模板)

The Moronic Cowmpouter Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4078   Accepted: 2111 Description Inexperienced in the digital arts, the cows tried ...
阅读(190) 评论(0)

最长上升子序列 最长公共子序列 最长公共子串 数字三角形 等简单DP以及变形

最长公共子序列问题 #include #include using namespace std; short dp[510][510]; int n; int FinMaxLen(char s[],char p[]) { memset(dp,0,sizeof(dp)); int i,j; int sk=strlen(s),pk=strlen(p);...
阅读(138) 评论(0)

Balance poj1837 (DP & 01背包)

Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 14005   Accepted: 8804 Description Gigel has a strange "balance" and he wants to poise it. Actually,...
阅读(140) 评论(0)

C Looooops poj2115 (扩展欧几里得+模线性方程)

C Looooops Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 25104 Accepted: 7105 Description A Compiler Mystery: We are given a C-language style for loop o...
阅读(143) 评论(0)

The Embarrassed Cryptographer poj2635 (大数取模)

The Embarrassed Cryptographer Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 14480   Accepted: 3954 Description The young and very promising cryptographer O...
阅读(131) 评论(0)

Semi-prime H-numbers poj3292 (类比欧拉筛)

Semi-prime H-numbers Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9171   Accepted: 4055 Description This problem is based on an exercise of David Hilber...
阅读(145) 评论(0)

Ultra-QuickSort poj2299 (归并排序 求逆序数对)

Ultra-QuickSort Time Limit: 7000MS   Memory Limit: 65536K Total Submissions: 57649   Accepted: 21298 Description In this problem, you have to analyze a particular sorting...
阅读(132) 评论(0)

Tautology poj3295

Tautology Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 12475   Accepted: 4749 Description WFF 'N PROOF is a logic game played with dice. Each die has si...
阅读(115) 评论(0)
25条 共2页1 2 下一页 尾页
    个人资料
    • 访问:25718次
    • 积分:1421
    • 等级:
    • 排名:千里之外
    • 原创:111篇
    • 转载:2篇
    • 译文:0篇
    • 评论:4条
    博客专栏