关闭

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...
阅读(132) 评论(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...
阅读(479) 评论(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)

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

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

(贪心)Color the Fence - CF 202 Div2B

B. Color the Fence time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Igor has fallen in love with Tanya. Now...
阅读(109) 评论(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)

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...
阅读(215) 评论(0)

Monthly Expense poj3273 (二分/最大值最小化)

Monthly Expense Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 24044   Accepted: 9362 Description Farmer John is an astounding accounting wizard and has r...
阅读(169) 评论(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)
113条 共8页首页 上一页 1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:25718次
    • 积分:1421
    • 等级:
    • 排名:千里之外
    • 原创:111篇
    • 转载:2篇
    • 译文:0篇
    • 评论:4条
    博客专栏