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
水题……
CodeForces 165A Supercentral Point(
水题
)
题目:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=114355#problem/A代码:#include #include usingnamespacestd; structnode { intx; inty; }q[205]; intmain() { intt; scanf("%d",&t); for(inti=0;iq[j
qq_32473657
·
2016-05-07 17:00
UVA, 820 Internet Bandwidth
最大流,注意是无向图,
水题
。
itaskyou
·
2016-05-07 17:00
internet
internet
internet
ban
band
bandwidth
UVA-820
UVA820
UVA820
Replacement
水题
A.Replacement题目连接:http://codeforces.com/contest/135/problem/ADescriptionLittlePetyaverymuchlikesarraysconsistingofnintegers,whereeachofthemisintherangefrom1to109,inclusive.Recentlyhehasreceivedonesuch
qscqesze
·
2016-05-07 17:00
POJ 2774 后缀数组
水题
点击打开链接题意:求两个串的最长公共子串思路:用后缀数组和高度数组简单求出,结果就是高度数组的最大值,看代码,对了开始吐槽.....挑战程序设计上的后缀数组这部分,代码简单易懂,我都看懂了.......然后呢这题我用挑战程序设计的模版写完跑了2047ms,看了看status,嗯什么情况,别人怎么300~400ms,难道模版不行,还真的是,据说是因为快速排序的原因,也只有这个原因了,将模版变成另一种
Dan__ge
·
2016-05-07 13:00
数据结构
ACM
poj
后缀数组
POJ 2774 后缀数组
水题
点击打开链接题意:求两个串的最长公共子串思路:用后缀数组和高度数组简单求出,结果就是高度数组的最大值,看代码,对了开始吐槽.....挑战程序设计上的后缀数组这部分,代码简单易懂,我都看懂了.......然后呢这题我用挑战程序设计的模版写完跑了2047ms,看了看status,嗯什么情况,别人怎么300~400ms,难道模版不行,还真的是,据说是因为快速排序的原因,也只有这个原因了,将模版变成另一种
Dan__ge
·
2016-05-07 13:00
数据结构
ACM
poj
后缀数组
HDU 1164 Eddy's research I
pid=1164题意:将任意一个数拆成多个素数相乘的形式(素数可重复)
水题
,本来想素数表,发现有点脱裤子放屁的意味==#include usingnamespacestd; intmain() { intn
azhuge233
·
2016-05-06 21:00
素数
水题
HDU1164
HDU 2069 & UVA 674 Coin Change(换硬币 dp 入门经典
水题
,背包问题)
CoinChangeTimeLimit: 1000MSMemoryLimit: 32768KB64bitIOFormat: %I64d&%I64uDescriptionSupposethereare5typesofcoins:50-cent,25-cent,10-cent,5-cent,and1-cent.Wewanttomakechangeswiththesecoinsforagivenamou
xia842655187
·
2016-05-06 20:00
dp
ACM
poj
HDU
uva
POJ3268最短路
水题
题意大概是有n个农场n头牛,要去x农场的牛。去和返回都要走最短路,问耗费时间最长的那条路是多少。首先想到就的就是floyd算法果然TLE了。先附上TLE的代码#include #include #include #include usingnamespacestd; constintmaxn=1000+10; constintINF=1e9; inte[maxn][maxn]; intn,m,x;
cquzhengdayday
·
2016-05-06 16:00
最短路
Cinema
水题
C.Cinema题目连接:http://www.codeforces.com/contest/670/problem/CDescriptionMoscowishostingamajorinternationalconference,whichisattendedbynscientistsfromdifferentcountries.Eachofthescientistsknowsexactlyon
qscqesze
·
2016-05-06 15:00
Game of Robots
水题
B.GameofRobots题目连接:http://www.codeforces.com/contest/670/problem/BDescriptionInlateautumneveningnrobotsgatheredinthecheerfulcompanyoffriends.Eachrobothasauniqueidentifier—anintegerfrom1to109.Atsomemom
qscqesze
·
2016-05-06 14:00
HDOJ题目分类
转自http://blog.csdn.net/vsooda/article/details/72587911001整数求和
水题
1002C语言实验题——两个数比较
水题
10031、2、3、4、5...简单题
bao_libra
·
2016-05-06 14:00
Holidays
水题
A.Holidays题目连接:http://www.codeforces.com/contest/670/problem/ADescriptionOntheplanetMarsayearlastsexactlyndays(therearenoleapyearsonMars).ButMartianshavethesameweeksasearthlings—5workdaysandthen2dayso
qscqesze
·
2016-05-06 14:00
HDU 1673 Optimal Parking(看懂就是
水题
)
OptimalParkingTimeLimit:3000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):2259 AcceptedSubmission(s):1884ProblemDescriptionWhenshoppingonLongStreet,Michaelusuallyp
liangzhaoyang1
·
2016-05-06 13:00
HDU
Optimal
Parking
1673
看懂就是水题
SYSU_1620
省赛前最后一场练习赛J题:
水题
,左右互相打求剩余数
水题
不猜题.C题给出n,求sigma(A(2,n)+A(3,n)+…+A(n,n))高精度.错了很多次的缘故是没有检查最小加数(longlong)的合理性
qq_32209643
·
2016-05-06 08:00
POJ 1068 Parencodings
样例输入:264566669466668999输出:111456112451139解题思路:
水题
,根据P序列
·
2016-05-05 23:00
poj
HDU 1331 Function Run Fun
水题
一道,亏我还想了半天,之前我还找规律,找了半天还没找到,之后一看elsew(a-1,b,c)+w(a-1,b-1,c)+w(a-1,b,c-1)-w(a-1,b-1,c-1)顿时明白后面的都是前面得来的
AcmLzq
·
2016-05-05 23:00
动态规划
hdu日常小练
UVA 10970 Big Chocolate(
水题
)
题面:BigChocolateMohammadhasrecentlyvisitedSwitzerland.Asheloveshisfriendsverymuch,hedecidedtobuysomechocolateforthem,butasthisfinechocolateisveryexpensive(YouknowMohammadisalittleBITstingy!),hecouldonl
David_Jett
·
2016-05-05 23:00
入门
uva
规律
POJ 2965 The Pilots Brothers' refrigerator
解题思路:
水题
,但
·
2016-05-05 22:00
poj
[BZOJ1053] 反素数 - dfs
钦定大
水题
qwq#include"stdio.h" usingnamespacestd; typedeflonglongll; intans,ansn,n; intpri[20]={0,2,3,5,7,11,13,17,19,23,29,31,37
whzzt
·
2016-05-05 22:00
SDUT3524 友谊的小船
,就先拿这道前几天机试的
水题
写一下吧!题目描述算是比较啰嗦的了,简单来说就是给定n个整数(A1,A2,..An),从第一个数(假设下标为i)开始往后选择第i*2或第i*
Autii
·
2016-05-05 21:00
poj 1151(线段树求面积并)
解题思路:线段树求面积并,
水题
#include #include #include #include #include #include usingnamespacestd; constintmaxn
hexianhao
·
2016-05-05 17:00
数据结构
coderforces 22C 构图
水题
点击打开链接题意:给n个点,m条边,割点为v的一个图,你试图将它还原,不能输出-1,能就将可行的一组输出即可,还有图为联通图思路:这跟割点没什么关系,直接想想就可以写出来了,先判断能不能组成这样的图,对于一个有一个割点的联通图,如何分配可以使边最多呢,以割点为分界线,左边一部分,右边一部分,可以很直白的知道左边只有一个的时候加的边最多,可以列出个式子,这样右边最多可以为(n-1)*(n-2)/2条
Dan__ge
·
2016-05-05 16:00
ACM
【
水题
+细心】
ProblemDescriptionSuperbowlSundayisnearlyhere.Inordertopassthetimewaitingforthehalf-timecommercialsandwardrobemalfunctions,thelocalhackershaveorganizedabettingpoolonthegame.Membersplacetheirbetsonthes
qq_33638791
·
2016-05-05 11:00
HDOJ(HDU) 2139 Calculate the formula(
水题
,又一个用JavaAC不了的题目)
TimeLimit:1000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)看到这个时间,我懵逼了。。。果然,Java就是打表,都不能AC,因为Java的输入是流,需要的时间比C真的长好多。。。。ProblemDescriptionYoujustneedtocalculatethesumoftheformula:1^2+3^2+5^
qq_26525215
·
2016-05-05 01:00
FZU 2034 Password table(
水题
)
题目:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=31893代码:#include #include usingnamespacestd; intmaps[15][15]; intmain() { intt; scanf("%d",&t); for(intcas=1;cas<=t;cas++) { intn,m,q
qq_32473657
·
2016-05-04 20:00
劳动节的玩具。。
第一题987654321problem
水题
,打个表找个规律,一瞬间就好了。。
qq_32995183
·
2016-05-04 18:00
专题
矩阵快速幂 HDU1575
题目连接真·模版
水题
,套模版即过#include"bits/stdc++.h" usingnamespacestd; typedeflonglongLL; #definemod9973 structMATRIX
q390898664
·
2016-05-04 14:00
ZOJ 3935 2016(
水题
)
题目:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=115189#problem/L代码:#include #include #include usingnamespacestd; intjudge1(intx) { //printf("%d\n",(int)sqrt(2*x)); intt=(int)sqrt(2*x); if(t
qq_32473657
·
2016-05-04 14:00
ZOJ 3932 Handshakes(翻译
水题
)
题目:http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=359792代码:#include #include usingnamespacestd; intmain() { intt; scanf("%d",&t); while(t--) { intn; scanf("%d",&n); inta[100005]; in
qq_32473657
·
2016-05-04 12:00
ZOJ 3927 Programming Ability Test(
水题
)
题目:http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=359787代码:#include #include usingnamespacestd; intmain() { intt; scanf("%d",&t); while(t--) { inta,b,c,d; scanf("%d%d%d%d",&a,&b,&c,
qq_32473657
·
2016-05-04 12:00
CodeForces 604B More Cowbell
http://codeforces.com/problemset/problem/604/B题意:n个数字,k个盒子,把n个数放入k个盒子中,每个盒子最多只能放两个数字,问盒子容量的最小值是多少(
水题
)
w144215160044
·
2016-05-04 11:00
CodeForces 71A Way Too Long Words
思路:
水题
#include usingnamespacestd; intmain() { intn; scanf("%d",&n); for(inti=0;i>s; if(s.size()>temp;
qq_21057881
·
2016-05-03 20:00
UVa 1583 Digit Generator
水题
熟悉JAVA而做importjava.util.Scanner; publicclassMain{ publicstaticvoidmain(Stringargs[]){ finalintmaxn
YYecust
·
2016-05-03 17:00
poj题目分类
OJ上的一些
水题
(可用来练手和增加自信) (poj3299,poj2159,poj2739,poj1083,poj2262,poj1503,poj3006,poj2255,poj3094) http:/
liangzhaoyang1
·
2016-05-03 13:00
poj题目分类
FZU 2230 2230 翻翻棋(思维
水题
)
ProblemDescription象棋翻翻棋(暗棋)中双方在4*8的格子中交战,有时候最后会只剩下帅和将。根据暗棋的规则,棋子只能上下左右移动,且相同的级别下,主动移动到地方棋子方将吃掉对方的棋子。将和帅为同一级别。然而胜负在只剩下帅和将的时候已定。Input第一行T,表示T组数据。每组数据共有四行字符串,每行字符串共八个字符’#’表示空格’*’表示红方帅’.’表示黑方将此时红方先走每组输入之间
qq_32866009
·
2016-05-03 07:00
FZU
不更
水题
了。。。
于是就不写
水题
的博文了。。。等有空在github开个账号,然后把自己在各大网站和OJ刷的题分享出来.....加油,且看三年后的自己变成什么水平......加油吧!骚年!
liangzhaoyang1
·
2016-05-02 22:00
不更水题了
HDU 5131 Song Jiang's rank list
思路:
水题
#include //#defineN100010 #defineLLlonglong #defineINF0x3f3f3f3f #defineUunsigned usingnamespacestd
qq_21057881
·
2016-05-02 21:00
HDOJ5114
一道简单的几何题:HDOJ5114对于有模板和懂数学的大神来说,几何题都是
水题
吧给两个点的坐标,初始化的速度方向向量为(1,1),两个点在n*m的矩阵中移动,遇到边界没有能量损失反弹前进,问这两个点是不是会在某个点相遇
kevin66654
·
2016-05-02 20:00
数学
ACM
HDU 2586 LCA转RMQ
点击打开链接题意:就是问两个节点间的距离思路:又切了一道模版
水题
,不解释了,看不懂变量含义的可以看我写的这篇,解释的比较详细ZOJ3195#include #include #include #include
Dan__ge
·
2016-05-02 20:00
数据结构
ACM
HDU
【BZOJ3223】Tyvj 1729 文艺平衡树【Splay】
【题目链接】大
水题
。
BraketBN
·
2016-05-02 17:00
数塔(dp
水题
)
http://acm.hdu.edu.cn/showproblem.php?pid=2084数塔TimeLimit:1000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):34035 AcceptedSubmission(s):20300ProblemDescription在讲述D
glu_cky
·
2016-05-02 10:00
leetcode笔记:Reverse String
这是一道
水题
,但是可以用很多种方法去解决,对于开阔思路很有帮助,也
liyuefeilong
·
2016-05-02 01:00
LeetCode
C++
算法
String
reverse
搜索
水题
(排列组合)
nyoj32题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=32组合数时间限制:3000 ms | 内存限制:65535 KB难度:3描述找出从自然数1、2、...、n(0 #include #include #include #include usingnamespacestd; intn,m; intnum[15],vis[15];
Strokess
·
2016-05-01 21:00
练习
菜鸡一个A
水题
B题意:找有多少对(a,b)使得aXorb>max(a,b)考虑高位的1,扫一遍就好了。
chenzhenyu123456
·
2016-05-01 17:00
ZOJ - 3879 Capture the Flag (模拟)题意难懂的
水题
ZOJ-3879CapturetheFlagTimeLimit: 2000MS MemoryLimit:65536KB 64bitIOFormat: %lld&%llu
yanghui07216
·
2016-05-01 16:00
HDU 5344 MZL's xor
水题
MZL'sxor题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5344DescriptionMZLlovesxorverymuch.NowhegetsanarrayA.ThelengthofAisn.Hewantstoknowthexorofall(Ai+Aj)(1≤i,j≤n)ThexorofanarrayBisdefinedasB1xorB2..
qscqesze
·
2016-04-30 21:00
Summer Training Team Selection (1) Problem A ACM Contest Scoring
水题
快半个月没有把自己的代码什么更新上来了,这两周既是期中考试又是数据结构专题training,然后今晚专题结束才能把早就放在草稿箱的那些放出来☺今天下午一次队内赛,做的中东的区域赛的。感觉自己太智障了,第一题还CE了一次time标识符在BC上都好用的,但OJ说不行,以后用_time或者什么好了,然后输出格式没有注意就交了一发,……ProblemAACMContestScoringTimelimit:
ProLightsfxjh
·
2016-04-30 21:00
模拟
ACM
水题
ZOJ 3938 Defuse the Bomb(
水题
)
DefusetheBombDescriptionThebombisabouttoexplode!Pleasedefuseitassoonaspossible!Thereisadisplayshowinganumberfrom1to4onthebomb.Besidesthis,thereare4buttonsunderthedisplay.Eachbuttonislabeledbyanumberfr
xia842655187
·
2016-04-30 18:00
ACM
ZOJ
AS
HDU
csdn
hrbust/哈理工oj 1877 区间【
水题
】
区间TimeLimit:1000MSMemoryLimit:32768K TotalSubmit:148(56users)TotalAccepted:56(48users)Rating: SpecialJudge: No Description给你一些左闭右开的区间,有交集的区间可划分到一个集合。现在将所有区间划分为尽量少的集合。求最少的集合数。Input第一行是一个整数T代表测试数据组数对于每组
mengxiang000000
·
2016-04-30 15:00
树形dp专题
树上的dp啊,其实和序列上差不多嘛,DAGDAG,刷一波
水题
吧,我这种随时准备AFO的选手只会做
水题
了吧,,感觉没有前途了,,题库:bzoj:101710371040106010631065109311231131150917911812192419072067209721522314243525002657287832063037312431623522356636113829401340274
qq_20669971
·
2016-04-29 22:00
dp
上一页
60
61
62
63
64
65
66
67
下一页
按字母分类:
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
其他