关闭

CSDN博客暂时停用,移至CNBLOG和Hexo

由于发现了较好的代码高亮模块和博客皮肤……就又搬回了CNBLOG 地址:http://www.cnblogs.com/Blackops/...
阅读(333) 评论(0)

PAT (Advanced Level) Practise 1003 Emergency(SPFA+DFS)

1003. Emergency (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue As an emergency rescue team leader of a city, yo...
阅读(231) 评论(0)

洛谷OJ P1196 银河英雄传说(带权并查集)

题目描述 公元五八○一年,地球居民迁移至金牛座α第二行星,在那里发表银河联邦 创立宣言,同年改元为宇宙历元年,并开始向银河系深处拓展。 宇宙历七九九年,银河系的两大军事集团在巴米利恩星域爆发战争。泰山压 顶集团派宇宙舰队司令莱因哈特率领十万余艘战舰出征,气吞山河集团点名将杨 威利组织麾下三万艘战舰迎敌。 杨威利擅长排兵布阵,巧妙运用各种战术屡次以少胜多,难免...
阅读(690) 评论(0)

CodeForces 670E Correct Bracket Sequence Editor(list和迭代器函数模拟)

E. Correct Bracket Sequence Editor time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Polycarp starte...
阅读(228) 评论(0)

清橙 A1206 小Z的袜子(莫队算法)

A1206. 小Z的袜子 时间限制:1.0s   内存限制:512.0MB   总提交次数:1357   AC次数:406   平均分:46.75 将本题分享到:            查看未格式化的试题   提交   试题讨论 试题来源   2010中国国家集训队命题答辩 问题描述   作为一个生活散漫的人,小Z...
阅读(267) 评论(0)

NBUT 1457 Sona(莫队算法+离散化)

[1457] Sona 时间限制: 5000 ms 内存限制: 65535 K 问题描述 Sona, Maven of the Strings. Of cause, she can play the zither. Sona can't speak but she can make fancy music. Her music can attack, heal,...
阅读(243) 评论(0)

OpenCV学习笔记——点击显示鼠标坐标

点击显示鼠标显示坐标,再次点击时上一次的坐标的会消失…… #include #include void on_mouse(int event, int x, int y, int flags, void* img) { CvFont font; cvInitFont(&font, CV_FONT_HERSHEY_SIMPLEX, 0.5, 0.5, 0, 1, CV_AA); if (ev...
阅读(280) 评论(0)

POJ 1573 Robot Motion(BFS)

Robot Motion Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 12856   Accepted: 6240 Description A robot has been programmed to follow the instructions...
阅读(167) 评论(0)

NOJ 1651 Red packet(二分)

[1651] Red packet 时间限制: 1000 ms 内存限制: 65535 K 问题描述 New Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and Wechat. Wine93 has m yuan, he decides to...
阅读(179) 评论(0)

HDU 3038 How Many Answers Are Wrong(带权并查集)

How Many Answers Are Wrong Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6046    Accepted Submission(s): 2287 Problem Description...
阅读(163) 评论(0)

POJ 1988 Cube Stacking(带权并查集)

Cube Stacking Time Limit: 2000MS   Memory Limit: 30000K Total Submissions: 23678   Accepted: 8299 Case Time Limit: 1000MS Description Farmer John and Betsy are pla...
阅读(184) 评论(0)

POJ 1703 Find them, Catch them(种类并查集)

Find them, Catch them Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 41463   Accepted: 12753 Description The police office in Tadu City decides to say end...
阅读(163) 评论(0)

POJ 3255 Roadblocks(A*求次短路)

Roadblocks Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 12167   Accepted: 4300 Description Bessie has moved to a small farm and sometimes enjoys returni...
阅读(201) 评论(0)

NBOJv2 1022 短信篮球(种类并查集)

Problem 1022: 短信篮球 Time Limits:  1000 MS   Memory Limits:  65536 KB 64-bit interger IO format:  %lld   Java class name:  Main Description       宁工正举行一年一度的篮球比赛,小屌因有事不能来看比赛...
阅读(325) 评论(0)

POJ 1182 食物链(种类并查集)

食物链 Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 63592   Accepted: 18670 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。  现有N个动物,以1-N编号。每个动...
阅读(320) 评论(0)
216条 共15页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:49905次
    • 积分:2365
    • 等级:
    • 排名:第17278名
    • 原创:216篇
    • 转载:0篇
    • 译文:0篇
    • 评论:6条
    文章分类