E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
topcoder
topcoder
srm 610
div1250pt:题意:100*100的01矩阵,找出来面积最大的“类似国际象棋棋盘”的子矩阵。解法:枚举矩阵宽(水平方向)的起点和终点,然后利用尺取法来找到每个固定宽度下的最大矩阵,不断更新答案。1//BEGINCUTHERE 2 3//ENDCUTHERE 4#line5"TheMatrix.cpp" 5#include 6#include 7#include 8#includ
silver__bullet
·
2014-03-04 19:00
topcoder
配置
codeprocessor.EntryPointfileedit.EntryPointtangentz.TZTester$BEGINCUT$ /* $PROBLEMDESC$ */ $ENDCUT$ #line$NEXTLINENUMBER$"$FILENAME$" #include #include #include #include #include #include #include #in
aszmq
·
2014-03-03 17:00
TopCoder
SRM Practice Room 144 DIV1
ProblemStatementLet'ssayyouhaveabinarystringsuchasthefollowing:011100011 Onewaytoencryptthisstringistoaddtoeachdigitthesumof itsadjacentdigits.Forexample,theabovestringwouldbecome:123210122
WuXueyang
·
2014-02-23 20:00
TopCoder
SRM 609 Div1 第2题
ProblemStatement WehaveballsofKdifferentcolors.Thecolorsarenumbered0throughK-1,andthenumberofballsofcoloriisX[i].Wewanttodividetheballsintoasfewpackagesaspossible.Eachpackagemustcontainbetween1andKbal
maverick1990
·
2014-02-16 15:00
数论
WIKIOI
天梯
topcoder
srm609 div1
总的来说这次的div1前两题都比以前简单,我这种不碰500的都开始做500分的题了==250pt题目:ProblemStatement MagicalGirlIllyuses"magicalstrings"tocastspells.Forher,astringXismagicalifandonlyifthereexistsanon-negativeintegerksuchthatXiscompos
wangyuquanliuli
·
2014-02-16 14:00
Algorithm
C++
Range Minimum Query and Lowest Common Ancestor
作者:danielp出处:http://community.
topcoder
.com/tc?
JDPlus
·
2014-02-16 11:00
算法
table
动态规划
segment
trees
sparse
Greedy is Good
作者:supernova出处:http://community.
topcoder
.com/tc?
JDPlus
·
2014-02-16 11:00
算法
贪心算法
Dynamic Programming: From novice to advanced
作者:Dumitru出处:http://community.
topcoder
.com/tc?
JDPlus
·
2014-02-16 10:00
算法
动态规划
SRM 608 div2 500 MysticAndCandiesEasy
ProblemStatement
TopCoder
adminmystic_tcissittinginfrontofatable.HefoundNsealedboxesofcandiesonthetable.Heisnotsurehowmanycandieseachboxcontains.However
u012797220
·
2014-02-08 22:00
topcoder
srm608 div1 300分题
题目:ProblemStatement
TopCoder
adminmystic_tcissittinginfrontofatable.HefoundNsealedboxesofcandiesonthetable.Heisnotsurehowmanycandieseachboxcontains.However
wangyuquanliuli
·
2014-02-08 19:00
Algorithm
C++
tc
topcoder
srm607 div2
250pt:题目:ProblemStatement Andrewdrewabunchofpointsonasheetofgraphpaper.Youaregiventhecoordinatesofthesepointsintwovectors:XandY.Thatis,foreachvalidi,thereisapointatthecoordinates(X[i],Y[i]).NowAndreww
wangyuquanliuli
·
2014-02-04 13:00
Algorithm
C++
动态规划
topcoder
srm606 div2
250pt:题目:ProblemStatement EllyhasastringSofuppercaselettersandamagicdevicethatcanmodifythestring.ThestrengthofthedeviceisanintL.Thedevicedoesthefollowing:Theuserentersa0-basedindexisuchthat0 #include
wangyuquanliuli
·
2014-01-30 20:00
TopCoder
Arena 及其插件安装
www.cnblogs.com/zhj5chengfeng/archive/2013/03/11/2954743.htmlStep1 在电脑上安装Java环境 免费Java下载 Step2 安装
TopCoder
z690933166
·
2014-01-19 11:00
TopCoder
SRM 604 Div1 第1题
ProblemStatement FoxCielhasarobot.Therobotislocatedonaninfiniteplane.Atthebeginning,therobotstartsatthecoordinates(0,0).Therobotcanthenmakeseveralsteps.Thestepsarenumberedstartingfrom0.Ineachstep,Ciel
maverick1990
·
2014-01-12 23:00
数论
图论
topcoder
动态规划
前言本文翻译自
TopCoder
上的一篇文章:DynamicProgramming:Fromnovicetoadvanced,
qq_17511675
·
2014-01-09 23:00
程序员技术网站
1.1HackerNews1.2Reddit1.3Digg1.4Dzone1.5Infoq1.6TheServerSide1.7TheVerge1.8CodeProject1.9PingWest (中国)1.10伯乐在线(中国)1.11ImportNew(中国)1.12Medium1.13
TopCoder
xiangzhihong8
·
2014-01-03 11:00
用
topcoder
准备cs 面试
发信人:yangcheng(牛魔王),信区:JobHunting标题:用
topcoder
准备cs面试发信站:BBS未名空间站(MonOct1713:26:012011,美东)这一段时间面试下来觉得
topcoder
hellobinfeng
·
2014-01-03 02:00
TopCoder
SRM 602 Div1 第1题
ProblemStatement TypoCoderisaprogrammingcontestlike
TopCoder
.TypoCoderalsohasaratingsystem.TherearetwotypesofcodersinTypoCoder
maverick1990
·
2013-12-30 20:00
dp
topcoder
TC SRM600 DIV2
题目:http://community.
topcoder
.com/tc?module=ProblemArchive 250: 很水,不解释,直接搞。
·
2013-12-23 12:00
div
TopCoder
kawigiEdit插件配置
kawigiEdit插件可以提高
TopCoder
编译,提交效率,可以管理保存每次SRM的代码。
u012797220
·
2013-12-23 10:00
topcoder
topcoder
刷题笔录 初级篇(一)
摘要:本系列文章为在
topcoder
上(包括部分其他平台)的刷题记录和心得,计划刷题500道。其中,初级题目30道,撰文三篇;中级题目60道,撰文六篇;其他高级题目100道,撰文10篇。
trochiluses
·
2013-12-20 16:00
编程
算法
topcoder
TopCoder
入门教程
www.
topcoder
.com/tc基本规则
TopCoder
的比赛类型很多,最常见的是周赛SRM(SingleRoundMatch),另外还有TCHSSRM(
TopCoder
HighSchoolSRM
trochiluses
·
2013-12-17 14:00
topcoder
TopCoder
SRM 598 Div1 第2题
ProblemStatement FoxCielisplayingaboardgamewithherfriendSquirrelLiss.Thegameisplayedonaninfinitestripofpaper.Thestripofpaperisdividedintoconsecutivecells.Eachcellhasanintegercoordinate.Formally,foreac
maverick1990
·
2013-12-02 21:00
博弈
topcoder
NYOJ-813-对决-2013年11月2日23:16:37
对决时间限制:1000 ms | 内存限制:65535 KB难度:0描述
Topcoder
要招进来了n个新同学,Yougth计划把这个n个同学分成两组,要求每组中每个人必须跟另一组中每个同学进行一次算法对决
u011676797
·
2013-12-02 20:00
TopCoder
SRM 598 Div1 第1题
ProblemStatement FoxCielhassomeitems.Theweightofthei-th(0-based)itemisitem[i].Shewantstoputallitemsintobins.Thecapacityofeachbinis300.Shecanputanarbitrarynumberofitemsintoasinglebin,butthetotalweighto
maverick1990
·
2013-12-02 20:00
C++
topcoder
Topcoder
SRM 598 DIV 1
-------不服-------classBinPacking{ private: inta[1000]; intn,m; intans; public: intminBins(vectoritem){ memset(a,0,sizeof(a)); n=item.size(); sort(item.begin(),item.end(),greater()); m=0; ans=0; a[0]=30
cyendra
·
2013-11-29 21:00
topcoder
SRM598 div1
250pt:题意:提供每一件物品的重量item[i],100item){ intcnt=99999999; intzero=count(item.begin(),item.end(),100); for(intz=0;ztemp; for(inti=0;i
wangyuquanliuli
·
2013-11-29 15:00
Algorithm
TopCoder
SRM 597 Div1 第3题
ProblemStatement LittleElephantfromtheZooofLvivhasaboardwith2rowsandMcolumns.Eachcelloftheboardmustbepaintedinoneofthreecolors:red,green,orblue.Theboardiscalledmagicalifandonlyifithasthefollowingprope
maverick1990
·
2013-11-26 19:00
C++
数论
topcoder
TopCoder
SRM 597 Div1 第1题
ProblemStatement LittleElephantfromtheZooofLvivlikesstrings.YouaregivenastringAandastringBofthesamelength.InoneturnLittleElephantcanchooseanycharacterofAandmoveittothebeginningofthestring(i.e.,beforet
maverick1990
·
2013-11-25 23:00
C++
字符串
topcoder
Topcoder
SRM 596 DIV 1
250 IncrementAndDoublingclassIncrementAndDoubling{ private: intn; inta[55]; boolok(){ for(inti=0;idesiredArray){ intres=0; n=sz(desiredArray); for(inti=0;i
cyendra
·
2013-11-21 12:00
Topcoder
SRM 597 DIV 1
250 LittleElephantAndStringclassLittleElephantAndString{ private: intch[300]; public: intgetNumber(stringA,stringB){ intans=0; intn=A.length(); intp=n; memset(ch,0,sizeof(ch)); for(inti=0;i=0;i--){ bo
cyendra
·
2013-11-21 12:00
TopCoder
SRM 596 Div2 第3题
ProblemStatement Foranintegern,letF(n)=(n-0^2)*(n-1^2)*(n-2^2)*(n-3^2)*...*(n-k^2),wherekisthelargestintegersuchthatn-k^2>0.Youaregiventhreelonglongslo,hianddivisor.Itisguaranteedthatdivisorwillbeapri
maverick1990
·
2013-11-18 12:00
C++
数论
topcoder
顶级程序员的10条最佳实践
英文原文:10bestpracticesfrom
topcoder
satGoogle,Pinterest&more1、慎重选择第1门语言编程语言各有不同,不过区别不大。但用语言的人区别就大了。
沉虹默雨
·
2013-11-17 08:59
程序员
Google
自由职业
Management
语言编程
Topcoder
几例C++字符串应用
本文写于9月初,是利用
Topcoder
准备应聘时的机试环节临时补习的C++的一部分内容。签约之后,没有再进行练习,此文暂告一段落。
·
2013-11-14 16:00
topcoder
Topcoder
几例C++字符串应用
本文写于9月初,是利用
Topcoder
准备应聘时的机试环节临时补习的C++的一部分内容。签约之后,没有再进行练习,此文暂告一段落。
五岳
·
2013-11-14 16:00
TopCoder
SRM 595 Div2 第3题
类型:数论 难度:2.5题意:给出三个数A,B,C,求(X,Y)的数目,(X,Y)满足0pos。即比pos高的位上A实际为1,但是取了0,故A后边的位可随意取值,称为置定。给出这个概念后,分情况写出状态转移方程,讨论ia,ib,ic的所有取值组合(000-111)8种情况,每种情况中,当ia,ib,ic为0时,还要讨论A[pos],B[pos],C[pos]的取值,分别写方程。 代码如下:#inc
maverick1990
·
2013-11-12 20:00
C++
数论
topcoder
Topcoder
TriviaGame 动态规划
题目“:ProblemStatement YouandyourfriendshavegottentogetherforaTrivianightatthelocalpub.Eachquestionisworthanumberof points;thei-thelementof pointscorrespondstothescorereceivedifyoucorrectlyanswerthei-th
Qxietingwen
·
2013-11-09 21:00
NYOJ-458-小光棍数-2013年09月18日09:37:10
小光棍数时间限制:1000 ms | 内存限制:65535 KB难度:1描述最近
Topcoder
的XD遇到了一个难题,倘若一个数的三次方的后三位是111,他把这样的数称为小光棍数。
u011676797
·
2013-11-06 20:00
TopCoder
- "TCHS SRM 1" 答案 及 代码
"TCHSSRM1"答案及代码 由于题目涉密以及英文,不方便一一列出,希望能坚持下去;
TopCoder
具体网址:http://community.
topcoder
.com/ 250-points:雷达识别均值问题
morndragon
·
2013-10-31 19:00
C++
topcoder
SRM
1
Mystra
TCHS
TopCoder
- "TCHS SRM 1" 答案 及 代码
"TCHSSRM1"答案及代码 由于题目涉密以及英文,不方便一一列出,希望能坚持下去;
TopCoder
具体网址:http://community.
topcoder
.com/ 250-points:雷达识别均值问题
u012515223
·
2013-10-31 19:00
C++
topcoder
SRM
1
Mystra
TCHS
TopCoder
- "TCHS SRM 1" 答案 及 代码
"TCHSSRM1"答案及代码由于题目涉密以及英文,不方便一一列出,希望能坚持下去;
TopCoder
具体网址:http://community.
topcoder
.com/250-points:雷达识别均值问题
morndragon
·
2013-10-31 19:00
C++
Mystra
TopCoder
初学数位DP--hdu 2089
其实是做
topcoder
的时候碰到不会的题,看人家说要用数位dp,所以拿http://acm.hdu.edu.cn/showproblem.php?
wangyuquanliuli
·
2013-10-30 23:00
动态规划详解
前言本文翻译自
TopCoder
上的一篇文章: DynamicProgramming:Fromnovicetoadvanced ,并非严格逐字逐
a_1_2_ab
·
2013-10-29 16:00
编程
楼天城楼教主的acm心路历程(作为励志用)
利用假期空闲之时,将这几年GCJ,ACM,
TopCoder
参加的一些重要比赛作个回顾。
This is bill
·
2013-10-22 17:27
随笔
[置顶] 楼天城楼教主的acm心路历程(作为励志用)
利用假期空闲之时,将这几年GCJ,ACM,
TopCoder
参加的一些重要比赛作个回顾。
Scythe666
·
2013-10-22 17:00
插入排序的优化
做过几次
topcoder
上的小比赛,80%的题目都要用到排序,并且数据量比较少,只有几十条。这个时候,用vector和插入排序简直是既简单又合适,效率也不会很低,毕竟数据量太少。
Arcsinsin
·
2013-10-21 22:00
优化
插入排序
树状数组(Binary Indexed Trees)树状数组详解(转载)
topcoder
上原
u010793761
·
2013-10-19 00:00
数据结构
GDB 调试 C++ 程序 core dump
前天晚上(2013.10.15)参加
Topcoder
竞赛时,碰到一个比较没有头绪的问题,想解法就想了半天,写代码时又出了问题,以前在VisualStudio下图形化调试的习惯根深蒂固, GDB又不熟悉,
sailtseng
·
2013-10-18 17:00
C++
gdb
core
开始
topcoder
这里介绍如何下载
topcoder
的客户端、配置插件,进行algorithm的比赛。第一步:先下载客户端下载
TopCoder
Arenaapplet,即
topcoder
的客户端。
albani
·
2013-10-07 10:00
生成全排列的非回溯方法(
TopCoder
SRM 591 DIV 2)
生成全排列的非回溯方法(
TopCoder
SRM591DIV2)问题来自
TopCoder
SRM591DIV2的第二题:ProblemStatement LetXandYbetwostringsofequallength
coreBugZJ
·
2013-09-28 17:00
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他