关闭

BUG总结(2017.11.11)

2016 CCPC Hangzhou Onsite 用int存储浮点数再映射后可能RE——线段树扫描线中出现 邻接表头指针未初始化为-1——居然习惯性清零了,,,,debug半小时 漏掉约束条件——拆分整数的每个数均不可重复,,,,默认可以重复了 处理可能输入的非法数据...
阅读(72) 评论(0)

第九届河南省程序设计大赛-NYOJ-307-宝物(瓶颈路 贪心)

宝物 时间限制:1000 ms | 内存限制:65535 KB 难度:6 描述 传说HMH大沙漠中有一个迷宫,里面藏有许多宝物。迷宫里可能有N个藏宝地点,用1到N标记。藏宝地点之间最多有一条通路相连。标记1为迷宫的进出口。 某天,Dr.Kong找到了迷宫的地图,他已经知道其中K(1<=K<=N)个不同的地点真的藏有宝物。Dr.Kong决定让他的机器人卡多去探险。卡多在经过某个藏宝地点时...
阅读(189) 评论(0)

第九届河南省程序设计大赛-NYOJ-1276(搜索batter)

机器设备 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 Alpha 公司设计出一种节能的机器设备。它的内部结构是由 N 个齿轮组成。整个机器设备有 一个驱动齿轮,当启动它时,它立即按 10,000 圈/小时转速顺时针转动,然后它又带动与它相切 的齿轮反方向,即逆时针转动。齿轮之间互相作用,每个齿轮都可能驱动着多个齿轮,最终带动 一个工作齿轮完成相应的任务。 在...
阅读(139) 评论(0)

第九届河南省程序设计大赛-NYOJ-1274-信道安全(SPFA水题)

信道安全 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 Alpha 机构有自己的一套网络系统进行信息传送。情报员 A 位于节点 1,他准备将一份情报 发送给位于节点 n 的情报部门。可是由于最近国际纷争,战事不断,很多信道都有可能被遭到监 视或破坏。 经过测试分析,Alpha 情报系统获得了网络中每段信道安全可靠性的概率,情报员 A 决定选 择一条安全性最高,...
阅读(709) 评论(0)

ZOJ-3715-Kindergarten Election(贪心 枚举 模拟)

Kindergarten Election Time Limit: 2 Seconds Memory Limit: 65536 KB At the beginning of the semester in kindergarten, the n little kids (indexed from 1 to n, for convenience) in class need to ele...
阅读(226) 评论(0)

天梯赛总结

志愿者说:各位考生请注意,考试还有十五分钟开始。。。。原来我们是来考试的。191分。策略有问题,应该上来先做L2,抢到一血有加分。然而我当时是从L1-1一题一题往下推,感觉L1就是比手速,狂敲了半个小时结束。 L2-2 第一眼看到多项式除法就开始慌了,贼麻烦,时间还特短,果断放弃这一题。 L2-1 难度和L1一样,纯粹模拟一下。 L2-3 STL大法好啊,vector string ma...
阅读(196) 评论(0)

HDU-1584-蜘蛛牌(DFS)

蜘蛛牌Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3561 Accepted Submission(s): 1529Problem Description 蜘蛛牌是windows xp操作系统自带的一款纸牌游戏,游戏规则是这...
阅读(161) 评论(0)

BNU-1018-信息战(四)——战场演练(线段树 better)

信息战(四)——战场演练 Time Limit: 1000msMemory Limit: 262144KB 64-bit integer IO format: %lld Java class name: Main PrevSubmitStatusStatisticsDiscussNext Font Size: +- 在A国与C国的边境重镇,两国的军队对峙了相当长一段时间。虽说...
阅读(474) 评论(1)

HDU-5410-CRB and His Birthday(01背包+完全背包 better)

CRB and His Birthday Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1850 Accepted Submission(s): 875 Problem Description Today is CRB’s...
阅读(131) 评论(0)

Codeforces Round #403 (Div. 2) C. Andryusha and Colored Balloons(DFS 邻接表 数据结构)

C. Andryusha and Colored Balloons time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Andryusha goes through a park each day. The squares and...
阅读(162) 评论(0)

Codeforces Round #403 Div. 2 B. The Meeting Place Cannot Be Changed(二分)

B. The Meeting Place Cannot Be Changed time limit per test5 seconds memory limit per test256 megabytes inputstandard input outputstandard output The main road in Bytecity is a straight line from s...
阅读(212) 评论(0)

Codeforces Round #403 (Div. 2) A. Andryusha and Socks(简单模拟)

A. Andryusha and Socks time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Andryusha is an orderly boy and likes to keep things in their place...
阅读(268) 评论(0)

Codeforces Round #401 (Div. 2) D. Cloud of Hashtags(暴力)

D. Cloud of Hashtags time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasya is an administrator of a public page of organization “Mouse and...
阅读(409) 评论(0)

Codeforces Round #401 (Div. 2) C. Alyona and Spreadsheet(暴力)

C. Alyona and Spreadsheet time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output During the lesson small girl Alyona works with one famous spreads...
阅读(634) 评论(0)

Codeforces Round #401 (Div. 2) B. Game of Credit Cards(模拟)

B. Game of Credit Cards time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output After the fourth season Sherlock and Moriary have realized the who...
阅读(388) 评论(0)

Codeforces Round #401 (Div. 2) A. Shell Game(模拟)

A. Shell Game time limit per test0.5 seconds memory limit per test256 megabytes inputstandard input outputstandard output Bomboslav likes to look out of the window in his room and watch lads outsi...
阅读(357) 评论(0)

Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) B. Code For 1(DFS好题)

B. Code For 1 time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Jon fought bravely to rescue the wildlings who were attacked by the white-wa...
阅读(205) 评论(0)

Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) A(贪心)

A. Oath of the Night’s Watch time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output “Night gathers, and now my watch begins. It shall not end unt...
阅读(159) 评论(0)

Codeforces Round #392 (Div. 2) B. Blown Garland(规律)

B. Blown Garland time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Nothing is eternal in the world, Kostya understood it on the 7-th of Janua...
阅读(165) 评论(0)

Codeforces Round #392 (Div. 2) A. Holiday Of Equality(水题)

A. Holiday Of Equality time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output In Berland it is the holiday of equality. In honor of the holiday th...
阅读(168) 评论(0)
421条 共22页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:114161次
    • 积分:5252
    • 等级:
    • 排名:第5783名
    • 原创:415篇
    • 转载:6篇
    • 译文:0篇
    • 评论:44条
    最新评论