随笔分类 - 离散化
摘要:Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 59254 Accepted: 17167DescriptionThe citizens of Bytetown, AB, could not stand that the candi...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output As you know, every birthday party ha...
阅读全文
摘要:Time Limit: 3s Memory Limit: 64MB 问题描述 Ljr has several lines. The lines are covered on the X axis. Let A ...
阅读全文
摘要:【链接】点击打开链接【题意】在这里写题意【题解】把n个时间离散化一下.对于不是相邻的点,在两者之间再加一个空格就好。这样最多会有1000个位置.则定义dp[i][k][j]表示前i个数字,第i个位置穿或不穿鞋子,总共不穿天数为j的最大值.不难写出程序【错的次数】2【反思】在这了写反思【代码】#inc...
阅读全文
摘要:【题目链接】:http://codeforces.com/problemset/problem/777/E【题意】 让你摆汉诺塔片; 要求在上面的片的外圈大于在下面的片的内圈,且小于下面的片的外圈; 给你n个片; 每个片有属性->外圈半径,内圈半径,高度; 然后让你选择其中的一些片...
阅读全文