- 博客(33)
- 资源 (20)
- 问答 (14)
- 收藏
- 关注
原创 JavaScript五子棋
这个代码是按照网上一个JS教程写的。这个代码有点bug吧,那就是一直封你的棋而不会去赢。html: 五子棋 JS:var chessBoard = [];var me = true;var over = false;v
2016-05-27 20:27:07 593
原创 BSG白山极客挑战赛-数数字(模拟)
数数字System Message (命题人)yule_z (测试)基准时间限制:1 秒 空间限制:262144 KB 分值: 20统计一下 aaa ⋯ aaan个a × b 的结果里面有多少个数字d,a,b,d均为一位数。样例解释:3333333333*3=99999999
2016-05-20 23:00:57 584
原创 BSG白山极客挑战赛-B君的圆锥(三分+数学)
B君的圆锥wwwwodddd (命题人)基准时间限制:1 秒 空间限制:131072 KB 分值: 40B君要用一个表面积为S的圆锥将白山云包起来。B君希望包住的白山云体积尽量大,B君想知道体积最大可以是多少。注意圆锥的表面积包括底面和侧面。Input一行一个整数,表示表面积S。(1
2016-05-20 23:00:28 414
转载 OBJ文件导出
转载自:http://www.java123.net/483461.htmlOBJ文件导出 首先需要在系统中安装Blender,软件中心搜一下就可以找到了,2.62版本。也可以到官网下载最新的2.68版本。 安装好之后打开软件,已经建好了一个cubic,鼠标右键可以选定并且拖动模型,中键用于变换视角,滚轮用于放大和缩小视图。 选中方块之后按d
2016-05-17 17:43:32 5243
原创 Codeforces Round #353 (Div. 2)-B. Restoring Painting(数学)
B. Restoring Paintingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya works as a watchman in the galle
2016-05-17 10:29:10 383
原创 Codeforces Round #353 (Div. 2)-A. Infinite Sequence(模拟)
A. Infinite Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya likes everything infinite. Now he
2016-05-17 10:20:10 499
原创 Codeforces Round #352 (Div. 2)-B. Different is Good(模拟)
B. Different is Goodtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA wise man told Kerem "Different is go
2016-05-16 22:21:20 413
原创 Codeforces Round #352 (Div. 2)-Summer Camp(模拟)
A. Summer Camptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEvery year, hundreds of people come to summer
2016-05-16 22:18:31 381
原创 2016"百度之星" - 测试赛(热身,陈题)-列变位法解密(模拟)
列变位法解密 Accepts: 152 Submissions: 418 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description列变位法是古典密码算法中变位加密的一种方法,具体过程如下
2016-05-09 22:24:16 828
原创 2016"百度之星" - 测试赛(热身,陈题)-IP聚合(模拟)
IP聚合 Accepts: 141 Submissions: 298 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem Description当今世界,网络已经无处不在了,小度熊由于犯了错误,当上了度度公
2016-05-09 21:23:14 1330
原创 HDU 1255-覆盖的面积(线段树+扫描线)
C - 覆盖的面积Time Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1255Appoint description: System Crawler (2016-04-30)Description
2016-05-05 20:12:38 824 10
原创 HDU 1542-Atlantis(线段树+扫描线)
A - AtlantisTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1542Appoint description: System Crawler (2016-05-04)Description
2016-05-05 20:05:46 420
原创 POJ 3262-Protecting the Flowers(贪心+前缀和)
N - Protecting the FlowersTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3262Appoint description: System Crawler (2016-05-04)
2016-05-05 14:14:04 535
原创 POJ 1862- Stripies(优先队列)
M - StripiesTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1862Appoint description: System Crawler (2016-04-28)Descriptio
2016-05-05 14:10:49 364
原创 POJ 3040- Allowance(贪心)
L - AllowanceTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3040Appoint description: System Crawler (2016-05-01)Descripti
2016-05-05 14:08:23 547
原创 POJ 1017-Packets(贪心)
K - PacketsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1017Appoint description: System Crawler (2016-04-29)Description
2016-05-05 14:03:29 487
原创 POJ 2393-Yogurt factory(贪心)
J - Yogurt factoryTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2393Appoint description: System Crawler (2016-05-02)Desc
2016-05-05 14:00:42 543
原创 POJ 2376- Cleaning Shifts(贪心)
G - Cleaning ShiftsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2376Appoint description: System Crawler (2016-04-29)Des
2016-05-05 13:54:02 450
原创 POJ 3050-Hopscotch(BFS)
F - HopscotchTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3050Appoint description: System Crawler (2016-05-03)Descripti
2016-05-05 13:50:11 426
原创 POJ 3187- Backward Digit Sums(DFS+全排列)
E - Backward Digit SumsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3187Appoint description: System Crawler (2016-05-02)
2016-05-05 13:46:01 489
原创 POJ 2718 - Smallest Difference(双DFS)
D - Smallest DifferenceTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2718Appoint description: System Crawler (2016-05-03)
2016-05-05 13:38:05 400
原创 POJ 3669-Meteor Shower(BFS)
C - Meteor ShowerTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3669Appoint description: System Crawler (2016-04-28)Descr
2016-05-05 13:31:06 600
原创 POJ 3009-B - Curling 2.0(DFS)
B - Curling 2.0Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3009Appoint description: System Crawler (2016-05-04)Descrip
2016-05-05 13:25:43 366
原创 POJ 1979-Red and Black(DFS)
A - Red and BlackTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1979Appoint description: System Crawler (2016-05-03)Descrip
2016-05-05 13:18:00 342
转载 sql语句进阶教程(学习sql这一篇就够了)
转载自:http://blog.csdn.net/u011001084/article/details/51318434最近从图书馆借了本介绍SQL的书,打算复习一下基本语法,记录一下笔记,整理一下思路,以备日后复习之用。PS:本文适用SQL Server2008语法。一、关系型数据库和SQL实际上准确的讲,SQL是一门语言,而不是一个数据库。什么是SQ
2016-05-04 23:07:46 33542 5
原创 小Z的袜子(hose)(莫队算法)
A - 小Z的袜子(hose)Time Limit:20000MS Memory Limit:265216KB 64bit IO Format:%lld & %lluSubmit StatusDescription作为一个生活散漫的人,小Z每天早上都要耗费很久从一堆五颜六色的袜子中找出一双来穿。终于有一天,小Z再也无法忍受这恼人的找袜子过
2016-05-04 21:23:51 1213
转载 莫队算法详解
转载自:http://blog.csdn.net/hnshhslsh/article/details/50582926莫队算法详解本文翻译自MO’s Algorithm (Query square root decomposition),作者anudeep2011,发表日期为2014-12-28。由于最近碰到一些莫队算法的题目,找到的相关中文资料都比较简略,而这篇英语文章则讲解的比
2016-05-04 20:16:26 898
原创 Codeforces Round #340 (Div. 2)E-XOR and Favorite Number(莫队算法)
B - XOR and Favorite NumberTime Limit:4000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBob has a favorite number k and ai of length n. No
2016-05-03 21:42:32 450
原创 Codeforces Round #348 (VK Cup 2016 Round 2, Div. 2 Edition)-B. Little Artem and Grasshopper(模拟)
B. Little Artem and Grasshoppertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Artem found a grassh
2016-05-02 23:12:39 476
原创 Codeforces Round #348 (VK Cup 2016 Round 2, Div. 2 Edition)-A. Little Artem and Presents(模拟)
A. Little Artem and Presentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Artem got n stones on h
2016-05-02 23:09:18 614
原创 郭大侠与Rabi-Ribi(优先队列)
郭大侠与Rabi-RibiTime Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit Status最近郭大侠迷上了玩Rabi-Ribi这个游戏。Rabi-Ribi呢,是一个打兔子的动作冒险游戏,萌萌哒的兔子在地上跑来跑去,好萌好
2016-05-01 16:49:06 771
原创 卿学姐与基本法(线段树+区间更新)
卿学姐与基本法Time Limit: 2000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit Status“做专题也要按照基本法”——蛤离开了诡异的村庄,卿学姐来到了威廉·圣·乱七八糟王国,这里的国王咸鱼王是个智障。国家涣散,盗贼四起,民不聊生。
2016-05-01 16:26:58 1074
原创 BestCoder Round #82 (div.2) -ztr loves lucky numbers(BFS)
ztr loves lucky numbers Accepts: 99 Submissions: 736 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述ztr喜欢幸运数字,他对于幸运数字有两个要求1:十进制表示法下只包
2016-05-01 10:04:55 516
下面的Pascal代码能帮我翻译为c++吗??
2015-06-06
如何使用类指针数组实现以下的代码??
2015-06-05
下面的代码数组不是越界了吗??为什么还可以运行而且不报错??
2015-05-14
int createBiTree( BiTree &r)这里是什么意思???
2015-05-14
下面的代码dfs剪枝的if语句是什么意思????
2015-05-03
如何用构造函数来初始化????
2015-04-23
如何设计bool operator才能使set在结构体中用?
2015-03-15
如何用深度搜索出需要的那条路?c++
2015-02-01
struct结构体的是什么情况?c++
2015-01-29
c++,如何优化程序才不超时?(在线等)
2015-01-19
聪明的员工(c或c++)
2015-01-16
oj 题聪明的员工怎么做?
2015-01-16
一个道c++的题(用c++做,要详细代码)
2014-12-28
如何建立c++的简单链表?
2014-12-20
TA创建的收藏夹 TA关注的收藏夹
TA关注的人