关闭

Digi Comp II UVALive - 6953 (bfs/拓扑)

Uva https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4965 vjudge https://vjudge.net/problem/UVALive-6953 雾草 一波瞎优化从2000ms跑到800ms........
阅读(301) 评论(0)

Instant Complexity poj1472 (递归模拟)

Instant Complexity Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 2157   Accepted: 747 Description Analyzing the run-time complexity of algorithms is an imp...
阅读(178) 评论(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...
阅读(183) 评论(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...
阅读(230) 评论(0)

OJ提交题目中的语言选项里G++与C++的区别

今天poj又出现了 G++ Wa C++ Ac 的情况 特转学习 原文地址见最后 一、OJ提交题目中的语言选项里G++与C++的区别 http://www.th7.cn/Program/cp/201405/199001.shtml 首先更正一个概念,C++是一门计算机编程语言,G++不是语言,是一款编译器中编译C++程序的命令而已。 那么他们之间的区别是什么? 在提交...
阅读(280) 评论(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...
阅读(153) 评论(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...
阅读(257) 评论(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 ...
阅读(304) 评论(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);...
阅读(186) 评论(0)

Codeforces 762 A.k-th divisor (简单有关因子的问题)

A. k-th divisor You are given two integers n and k. Find k-th smallest divisor of n, or report that it doesn’t exist. Divisor of n is any such natural number, that n can be divided by it without...
阅读(305) 评论(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...
阅读(195) 评论(0)

poj1506 Tiling 递推 简单大数

#include #include #include using namespace std; int s[1010][110]; void reset() { s[0][0]=1; ///s[X][0] 表示这个数一共多少位 注意逆序打印 s[0][1]=1; s[1][0]=1; s[1][1]=1; int j,k,i,n,sum,num;...
阅读(215) 评论(0)

Find The Multiple poj1426 (DFS)

Find The Multiple Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 28038   Accepted: 11640   Special Judge Description Given a positive integer n, write a p...
阅读(225) 评论(0)

Message Flood sdutoj 1500 (STL map 的使用)

Message Flood Time Limit: 1500MS Memory Limit: 65536KB Problem Description Well, how do you feel about mobile phone? Your answer would probably be something like that "It's so convenient and b...
阅读(313) 评论(0)

暑假集训 8.16 数据结构实验之排序三:bucket sort (简单的桶排序)

数据结构实验之排序三:bucket sort Time Limit: 100ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 根据人口普查结果,知道目前淄博市大约500万人口,你的任务是帮助人口普查办公室按年龄递增的顺序输出每个年龄有多少人,其中不满1周岁的按0岁计算,1到2周岁的按1岁计算,依次类推,大于等于100岁的...
阅读(165) 评论(0)
21条 共2页1 2 下一页 尾页
    个人资料
    • 访问:35351次
    • 积分:1550
    • 等级:
    • 排名:千里之外
    • 原创:115篇
    • 转载:2篇
    • 译文:0篇
    • 评论:7条
    博客专栏