暴力
文章平均质量分 78
keepcoral
这个作者很懒,什么都没留下…
展开
-
scau 10326 Paper cutting(思维+暴力)
10326 Paper cutting时间限制:1000MS 内存限制:65535K提交次数:1 通过次数:0题型: 编程题 语言: G++;GCCDescriptionYou are now given a large sheet of paper, which is in rectangle shape. Now you are asked to cut another rectangl...原创 2018-03-25 15:00:24 · 291 阅读 · 0 评论 -
scau 10319 How Many Parallelograms
10319 How Many Parallelograms时间限制:1000MS 内存限制:65535K提交次数:0 通过次数:0题型: 编程题 语言: G++;GCCDescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number of paral...原创 2018-03-25 15:15:07 · 172 阅读 · 0 评论 -
K 小马哥的超级盐水 分治+暴力
链接:https://www.nowcoder.com/acm/contest/94/K来源:牛客网时间限制:C/C++ 5秒,其他语言10秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述 小马哥有杯盐水,第杯有单位的盐和单位的水。小马哥很无聊,于是他想知道有多少种这杯盐水的非空子集,倒在一起之后盐和水的比是输入描述:输入第一行包...原创 2018-04-08 14:06:31 · 309 阅读 · 0 评论 -
scau13校赛17115 ooxx numbers 暴力打表+因数和
17115 ooxx numbers时间限制:1000MS 内存限制:65535K提交次数:0 通过次数:0 题型: 编程题 语言: G++;GCCDescription a number A called oo number of a number B if the sum of all As factor is the number B.(A,B) is a pair of ooxx...原创 2018-04-09 11:44:00 · 564 阅读 · 0 评论 -
17111 Football team(暴力)
17111 Football team时间限制:1000MS 内存限制:65535K提交次数:0 通过次数:0 题型: 编程题 语言: G++;GCCDescription As every one known, a football team has 11 players . Now, there is a big problem in front of the Coach Liu. T...原创 2018-04-02 16:52:59 · 254 阅读 · 0 评论 -
wyh的天鹅 vector暴力做
链接:https://www.nowcoder.com/acm/contest/93/L来源:牛客网时间限制:C/C++ 3秒,其他语言6秒空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld题目描述 你们wyh学长小时候住在河边,因为周围的生态环境非常好,所以经常会有天鹅浮在湖面上,每只天鹅都长得不一样,它们偶尔排成一排,偶尔分散开,偶尔也会...原创 2018-04-06 00:53:25 · 205 阅读 · 0 评论 -
poj1166无脑暴力
The ClocksTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 15357Accepted: 6230Description|-------| |-------| |-------|| | | | | | ||---O | |---O | | ...原创 2018-04-19 13:14:09 · 205 阅读 · 0 评论 -
UVALive 6852 优化枚举
https://vjudge.net/problem/UVALive-6852题目放在这里,模型就是覆盖问题,问被0,1...n张被子覆盖的人数这道题从re,到tle,再到wa,再到ac,花费了很多力气,题目关键在于a,b是在(1,16)范围的,因此区间总数最大16*16/2=128,本来想着O(128m)枚举就过了,没想到最后优化成最简版本的O(128*m)还是TLE,那么我只好去学习别人的优化...原创 2018-04-21 11:46:41 · 80 阅读 · 0 评论