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
HDUOJ
Hduoj
1033【水题】
/*Edge TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):2406AcceptedSubmission(s):1534 ProblemDescription Forproductsthatarewrappedinsmallpackingsitisnecessa
u014641529
·
2015-07-31 10:00
Hduoj
1032【水题】
/*The3n+1problem TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):27504AcceptedSubmission(s):10149 ProblemDescription ProblemsinComputerScienceareoftenclass
u014641529
·
2015-07-30 17:00
Hduoj
1030【数学】
Delta-waveTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):6700 AcceptedSubmission(s):2566ProblemDescriptionAtrianglefieldisnumberedwithsuccessiveintege
u014641529
·
2015-07-29 15:00
hduoj
~The kth great number~优先队列
ThekthgreatnumberTimeLimit:2000/1000ms(Java/Other) MemoryLimit:65768/65768K(Java/Other)TotalSubmission(s):25 AcceptedSubmission(s):14ProblemDescriptionXiaoMingandXiaoBaoareplayingasimpleNumbersgam
lin14543
·
2015-07-29 10:00
排序
C语言
队列
优先级
Hduoj
1029【水题】
/*IgnatiusandthePrincessIV TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32767K(Java/Others) TotalSubmission(s):21309AcceptedSubmission(s):8838 ProblemDescription "OK,youarenottoobad,em...Buty
u014641529
·
2015-07-29 09:00
Hduoj
1027【全排列】
/*IgnatiusandthePrincessII TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):5721AcceptedSubmission(s):3372 ProblemDescription NowourherofindsthedoortotheBEe
u014641529
·
2015-07-29 08:00
畅通工程(
HDUOJ
_1232)
ProblemDescription某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?Input测试输入包含若干测试用例。每个测试用例的第1行给出两个正整数,分别是城镇数目N( usingnamespacestd; i
highmath_Final
·
2015-07-29 08:00
Hduoj
1755【数学】
/*ANumberPuzzle TimeLimit:3000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):1095AcceptedSubmission(s):331 ProblemDescription Lele最近上课的时候都很无聊,所以他发明了一个数字游戏来打发时间。 这个游戏是这
u014641529
·
2015-07-28 19:00
Hduoj
1023【卡特兰数】
/*TrainProblemII TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):6811AcceptedSubmission(s):3690 ProblemDescription AsweallknowtheTrainProblemI,thebossofthe
u014641529
·
2015-07-27 18:00
Hduoj
1021【水题】
/*FibonacciAgain TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):44042AcceptedSubmission(s):21024 ProblemDescription ThereareanotherkindofFibonaccinumbers:F
u014641529
·
2015-07-27 16:00
Hduoj
1019【水题】
/*LeastCommonMultiple TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):38399AcceptedSubmission(s):14479 ProblemDescription Theleastcommonmultiple(LCM)ofaset
u014641529
·
2015-07-27 15:00
Hduoj
1017【水题】
/*AMathematicalCuriosity TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):31611AcceptedSubmission(s):10128 ProblemDescription Giventwointegersnandm,countthe
u014641529
·
2015-07-27 11:00
Hduoj
1016【深搜】【水题】
PrimeRingProblemTimeLimit:4000/2000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):33730 AcceptedSubmission(s):14932ProblemDescriptionAringiscomposeofncirclesasshownindia
u014641529
·
2015-07-27 10:00
OJ常见问题及必须认识的对拍处理水题
HDUOJ
:常见问题及解答Q:OnlineJudge(以下简称OJ)支持哪些语言?A:目前为止,HDOJ支持C、C++、Pascal和Java四种语言。Q:有什么条件判断我的程序是在OJ上运行吗?
k183000860
·
2015-07-25 13:00
Hduoj
2803【水题】
TheMAXTimeLimit:4000/2000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):1921 AcceptedSubmission(s):830ProblemDescriptionGivingNintegers,V1,V2,,,,Vn,youshouldfindthebigge
u014641529
·
2015-07-24 17:00
Hduoj
2802【水题】
F(N)TimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):4021 AcceptedSubmission(s):1409ProblemDescriptionGivingtheN,canyoutellmetheanswerofF(N)? InputEacht
u014641529
·
2015-07-24 16:00
Hduoj
2800【水题】
AddingEdgesTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):768 AcceptedSubmission(s):509ProblemDescriptionThereareN+1pointsontheplane,numberA,1,2…N.Nis
u014641529
·
2015-07-24 16:00
Hduoj
2824【欧拉函数】
/*TheEulerfunction TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):4299AcceptedSubmission(s):1788 ProblemDescription TheEulerfunctionphiisanimportantkindof
u014641529
·
2015-07-24 11:00
Hduoj
2489【最小生成树+DFS】
MinimalRatioTreeTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):3262 AcceptedSubmission(s):990ProblemDescriptionForatree,whichnodesandedgesareallweight
u014641529
·
2015-07-23 20:00
Hduoj
1869【Floyd】
/*六度分离 TimeLimit:5000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):12AcceptedSubmission(s):3 ProblemDescription 1967年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(smallworldphenomenon)
u014641529
·
2015-07-23 17:00
Hduoj
3635【带权并查集】
/*DragonBalls TimeLimit:2000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):0AcceptedSubmission(s):0 ProblemDescription Fivehundredyearslater,thenumberofdragonballswillincre
u014641529
·
2015-07-23 16:00
HDUOJ
关于A+B的ti
//主要是训练输入输出的格式,以下八道题仅供参考。A+BforInput-OutputPractice(I)TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):97643AcceptedSubmission(s):54096ProblemDescriptionYourta
haishengone
·
2015-07-23 00:36
oj水题
Hduoj
2855【矩阵数学】
/*FibonacciCheck-up TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):1257AcceptedSubmission(s):708 ProblemDescription EveryALPChashisownalpc-numberjustlikeal
u014641529
·
2015-07-22 18:00
Hduoj
2830 【矩阵数学】
/*MatrixSwappingII TimeLimit:9000/3000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):1433AcceptedSubmission(s):953 ProblemDescription GivenanN*Mmatrixwitheachentryequalto0or
u014641529
·
2015-07-22 10:00
Hduoj
2577【DP】
/*HowtoType TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):4656AcceptedSubmission(s):2108 ProblemDescription Pirateshavefinisheddevelopingthetypingsoftware
u014641529
·
2015-07-21 15:00
Hduoj
2818【带权并查集】
/*BuildingBlock TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):3894AcceptedSubmission(s):1209 ProblemDescription Johnareplayingwithblocks.ThereareNblocks(
u014641529
·
2015-07-21 10:00
Hduoj
2844【多重背包】
/*Coins TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):9140AcceptedSubmission(s):3671 ProblemDescription Whuacmersusecoins.TheyhavecoinsofvalueA1,A2,A3...A
u014641529
·
2015-07-20 16:00
Hduoj
2816【字符串】【水题】
#include #include charstr[1001],S[26]={'K','X','V','M','C','N','O','P','H','Q','R','S','Z','Y','I','J','A','D','L','E','G','W','B','U','F','T'}; chars[502],s1[251],s2[251]; voidget() { inti,l,k; l=str
u014641529
·
2015-07-18 18:00
HDUOJ
基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、1061、1070、1076、1089、1090、1091、1092、1093、1094、1095、1096、1097、1098、1106、1108、1157、1163、1164、1170、1194、1
佳家
·
2015-06-25 22:00
Hduoj
3033【分组背包】
#include #include #include #include #defineMin-100000000 intN,M,brand; intva[11][10010]; structshoe { intbr,pay,value; }B[110]; intmax(intx,inty) { returnx>y?x:y; } intcmp(constvoid*a,c
u014641529
·
2015-05-01 17:00
Hduoj
3172【字典树+并查集】
#include #include #include #include intf[200010],n,idnum,sum[200010]; structtree { intid; tree*next[52]; }root; intfinds(char*s) { tree*p=&root,*q; inti,j,k,l,id1; l=strlen(s); for(i=0;
u014641529
·
2015-05-01 17:00
Hduoj
2108【几何】
/*按照顶点的顺序,把所有相邻边两两差乘得到一组向量,以其中一个向量为基准,把其他向量和它做点乘,如果数值都是大于零则是凸的, 否则是凹的。 如果是平面多边形,就不必做点乘比较,只要判断是否所有的差乘得到的向量的z分量的符号是否相投就可以了。 */ #include #include #include #include inta[10000],b[10000]; intmai
u014641529
·
2015-05-01 17:00
Hduoj
3184【数学题】
#include #include #include #include intmain() { inti,j,k,t; scanf("%d",&t); while(t--) { inta,b; scanf("%d%d",&a,&b); if(a==1) { if(b>=10) printf("Impossible!\n"); else { for(i=9;i>=
u014641529
·
2015-05-01 17:00
Hduoj
2112【字典树+迪杰斯特拉】
#include #include #include #include #defineMAX100000000 structbus { intid; bus*next[54]; }root; intbusid,dis[155][155],d[155],n; intgetid(char*s) { inti,j,k,l; bus*p=&root,*q; l=strlen(s); for(i=0;i=9
u014641529
·
2015-04-23 11:00
Hduoj
1075【字典树】
/*WhatAreYouTalkingAbout TimeLimit:10000/5000MS(Java/Others)MemoryLimit:102400/204800K(Java/Others) TotalSubmission(s):15270AcceptedSubmission(s):4903 ProblemDescription IgnatiusissoluckythathemetaM
u014641529
·
2015-04-21 16:00
Hduoj
4302【优先队列】
/*HoledoxEating TimeLimit:4000/2000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):7AcceptedSubmission(s):4 ProblemDescription Holedoxisasmallanimalwhichcanbeconsideredasonepoint
u014641529
·
2015-04-16 16:00
Hduoj
1503【DP】
/*AdvancedFruits TimeLimit:2000/1000ms(Java/Other)MemoryLimit:65536/32768K(Java/Other) TotalSubmission(s):6AcceptedSubmission(s):5 SpecialJudge ProblemDescription Thecompany"21stCenturyFruits"hasspeci
u014641529
·
2015-04-15 18:00
Hduoj
2527【哈夫曼树】
/*SafeOrUnsafe TimeLimit:2000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):9AcceptedSubmission(s):5 ProblemDescription Javac++一天在看计算机的书籍的时候,看到了一个有趣的东西!每一串字符都可以被编码成一些数字来储存信
u014641529
·
2015-04-14 16:00
Hduoj
1134【大数+几何】
/*GameofConnections TimeLimit:2000/1000ms(Java/Other)MemoryLimit:65536/32768K(Java/Other) TotalSubmission(s):0AcceptedSubmission(s):0 ProblemDescription Thisisasmallbutancientgame.Youaresupposedtowrit
u014641529
·
2015-04-13 19:00
Hduoj
1024【DP】
/*MaxSumPlusPlus TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):18902AcceptedSubmission(s):6217 ProblemDescription NowIthinkyouhavegotanACinIgnatius.L's"M
u014641529
·
2015-04-13 17:00
Hduoj
1074【DP状态压缩】
/*DoingHomework TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):5910AcceptedSubmission(s):2502 ProblemDescription Ignatiushasjustcomebackschoolfromthe30thAC
u014641529
·
2015-04-11 22:00
Hduoj
1572【DFS】
/*下沙小面的(2) TimeLimit:1000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):0AcceptedSubmission(s):0 Font:TimesNewRoman|Verdana|Georgia FontSize:←→ ProblemDescription 前文再续,书接上一
u014641529
·
2015-04-10 19:00
Hduoj
1300【DP】
/*Pearls TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):1704AcceptedSubmission(s):782 ProblemDescription InPearlaniaeverybodyisfondofpearls.Onecompany,cal
u014641529
·
2015-04-09 21:00
Hduoj
2501【数学递推】
/*Tiling_easyversion TimeLimit:1000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):13AcceptedSubmission(s):10 Font:TimesNewRoman|Verdana|Georgia FontSize:←→ ProblemDescripti
u014641529
·
2015-04-09 14:00
Hduoj
1559【DP】
/*最大子矩阵 TimeLimit:30000/10000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):3280AcceptedSubmission(s):1652 ProblemDescription 给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。 Inpu
u014641529
·
2015-04-08 19:00
Hduoj
1203【01背包】
/*INEEDAOFFER! TimeLimit:2000/1000ms(Java/Other)MemoryLimit:65536/32768K(Java/Other) TotalSubmission(s):6AcceptedSubmission(s):5 Font:TimesNewRoman|Verdana|Georgia FontSize:←→ ProblemDescription Speak
u014641529
·
2015-04-07 18:00
Hduoj
1459【深搜】
/*非常可乐 TimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):6149AcceptedSubmission(s):2490 ProblemDescription 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了
u014641529
·
2015-04-06 13:00
Hduoj
2209【dfs】
/*翻纸牌游戏 TimeLimit:9000/3000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others) TotalSubmission(s):2629AcceptedSubmission(s):947 ProblemDescription 有一种纸牌游戏,很有意思,给你N张纸牌,一字排开,纸牌有正反两面,开始的纸牌可能是一种乱的状态(有些朝
u014641529
·
2015-04-05 12:00
Hduoj
1020【水题】
/*Encoding TimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others) TotalSubmission(s):30734AcceptedSubmission(s):13609 ProblemDescription Givenastringcontainingonly'A'-'Z',wecouldenc
u014641529
·
2015-04-03 20:00
Hduoj
2612【BFS】
/*Findaway TimeLimit:3000/1000ms(Java/Other)MemoryLimit:32768/32768K(Java/Other) TotalSubmission(s):29AcceptedSubmission(s):8 Font:TimesNewRoman|Verdana|Georgia FontSize:←→ ProblemDescription Passayea
u014641529
·
2015-04-03 14:00
上一页
6
7
8
9
10
11
12
13
下一页
按字母分类:
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
其他