关闭

E - Euclidean TSP UVALive - 6954 (三分)

Uva https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4966 Vjudge https://vjudge.net/problem/UVALive-6954 看不t 23333333333 上下界0 - 100 大神说随缘...
阅读(192) 评论(0)

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)

codeforece 768 B. Code For 1

B. Code For 1 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Jon fought bravely to rescue the wildlings wh...
阅读(213) 评论(0)

Minimum’s Revenge HDU5922 (水t)

Minimum’s Revenge Problem Description There is a graph of n vertices which are indexed from 1 to n. For any pair of different vertices, the weight of the edge between them is the least common mu...
阅读(296) 评论(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)

In 7-bit zoj3713 (位运算+进制转换,水)

ZOJ Problem Set - 3713 In 7-bit Time Limit: 2 Seconds      Memory Limit: 65536 KB Very often, especially in programming contests, we treat a sequence of non-whitespace characters as a stri...
阅读(171) 评论(0)

Basic Data Structure HDU 5929(模拟)

Basic Data Structure Time Limit: 7000/3500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Problem Description Mr. Frog learned a basic data structure recently, which is called st...
阅读(546) 评论(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)

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...
阅读(184) 评论(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)
17条 共2页1 2 下一页 尾页
    个人资料
    • 访问:35352次
    • 积分:1550
    • 等级:
    • 排名:千里之外
    • 原创:115篇
    • 转载:2篇
    • 译文:0篇
    • 评论:7条
    博客专栏