随笔分类 - dp
摘要:1201 整数划分 基准时间限制:1 秒 空间限制:131072 KB 收藏 关注 1201 整数划分 基准时间限制:1 秒 空间限制:131072 KB 1201 整数划分 基准时间限制:1 秒 空间限制:131072 KB 收藏 关注 收藏 关注 将N分为若干个不同整数的和,有多少种不同的划分方
阅读全文
摘要:gems gems gems Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Now there are n gems, each of whic
阅读全文
摘要:Two strings Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Giving two strings and you should jud
阅读全文
摘要:J. Killing everything time limit per test 4 seconds memory limit per test 64 megabytes input standard input output standard output There are many enem
阅读全文
摘要:D. Once Again... time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an array o
阅读全文
摘要:题目链接:http://codeforces.com/contest/598/problem/E E. Chocolate Bar time limit per test 2 seconds memory limit per test 256 megabytes input standard inp
阅读全文
摘要:D. Psychos in a Line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n psychos
阅读全文
摘要:Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description There is a number sequence A1,A2....An,you ca
阅读全文
摘要:E. Santa Claus and Tangerines time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Santa Clau
阅读全文
摘要:Pills Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Aunt Lizzie takes half a pill of a certain
阅读全文
摘要:2656: [Zjoi2012]数列(sequence) Description 小白和小蓝在一起上数学课,下课后老师留了一道作业,求下面这个数列的通项公式: 小白作为一个数学爱好者,很快就计算出了这个数列的通项公式。于是,小白告诉小蓝自己已经做出来了,但为了防止小蓝抄作业,小白并不想把公式公布出来
阅读全文
摘要:LCIS Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Alex has two sequences a1,a2,...,an and b1,b
阅读全文
摘要:1009 数字1的数量 基准时间限制:1 秒 空间限制:131072 KB 1009 数字1的数量 基准时间限制:1 秒 空间限制:131072 KB 1009 数字1的数量 基准时间限制:1 秒 空间限制:131072 KB 给定一个十进制正整数N,写下从1开始,到N的所有正数,计算出其中出现所有
阅读全文
摘要:A. Laptops time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One day Dima and Alex had an a
阅读全文
摘要:A. Beru-taxi time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasiliy lives at point (a, b
阅读全文
摘要:Happy Matt Friends Time Limit: 6000/6000 MS (Java/Others) Memory Limit: 510000/510000 K (Java/Others) Problem Description Matt has N friends. They are
阅读全文
摘要:P1402 [NOIP2010]乌龟棋 时间: 1000ms / 空间: 131072KiB / Java类名: Main 背景 NOIP2010提高组复赛第二题 背景 NOIP2010提高组复赛第二题 NOIP2010提高组复赛第二题 描述 小明过生日的时候,爸爸送给他一副乌龟棋当作礼物。 乌龟棋
阅读全文
摘要:P1057盖房子 未递交 未递交 标签:[显示标签] 描述 永恒の灵魂最近得到了面积为n*m的一大块土地(高兴ING^_^),他想在这块土地上建造一所房子,这个房子必须是正方形的。 但是,这块土地并非十全十美,上面有很多不平坦的地方(也可以叫瑕疵)。这些瑕疵十分恶心,以至于根本不能在上面盖一砖一瓦。
阅读全文
摘要:P1884 [NOIP2000T4]方格取数 时间: 1000ms / 空间: 131072KiB / Java类名: Main 背景 [noip2000T4]方格取数 背景 [noip2000T4]方格取数 描述 设有N*N的方格图(N<=10,我们将其中的某些方格中填入正整数,而其他的方格中则放
阅读全文
摘要:Two Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Alice gets two sequences A and B. A easy prob
阅读全文