- 博客(33)
- 资源 (4)
- 收藏
- 关注
原创 ZCMU—1951
1951: ly和wjw的无聊游戏Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 9 Solved: 3[Submit][Status][Web Board]Description 众所周知,ly和wjw是好朋友,某天特别无聊,他们想自己编一个游戏代码,无奈水平有限,只会写个random每次输出一个随机数,于是他们自己制定
2017-07-31 14:44:01 350
原创 三角形几何判断模板
1.两线段是否相交 2.点是否在三角形内1.两线段是否相交double mult(Point a, Point b, Point c) { return (a.x-c.x)*(b.y-c.y)-(b.x-c.x)*(a.y-c.y); } //aa, bb为一条线段两端点 cc, dd为另一条线段的两端点 相交返回true, 不相交返回f
2017-07-22 15:53:56 367
原创 ZCMU—1568
1568: Climbing StairsTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 30 Solved: 12[Submit][Status][Web Board]DescriptionThere is a ritual that some monks of Byteland perform every cent
2017-07-19 14:52:10 612
原创 ZCMU—1374
1374: Greatest Naruto ArmyTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 80 Solved: 23[Submit][Status][Web Board]Descriptionccc is a VERY VERY BIG fans of Naruto(漩涡鸣人). Naruto's perseve
2017-07-19 14:19:35 702
原创 ZCMU—1570
1570: Palindromic NumbersTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 102 Solved: 7[Submit][Status][Web Board]DescriptionJohnny has figured out that there are some numbers
2017-07-19 13:21:23 1561 1
原创 hdu个人赛6—1009
小P玩游戏2Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 92 Accepted Submission(s): 13Problem Description小p最近迷上了一个游戏,但他在玩游戏的时候
2017-07-17 01:11:06 379
原创 hdu个人赛6—1009
对抗女巫的魔法碎片Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description光明世界的一个国家发生动荡,女巫利用了邪
2017-07-16 18:40:23 370
原创 hdu个人赛6—1007
bx值Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description对于一个n个数的序列a1,a2,...,an,从小到
2017-07-16 18:32:13 313
原创 hdu个人赛6—1004
电影票Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description小明经常去看电影,也收集了很多电影票,他发现电影票上
2017-07-16 18:22:35 306
原创 hdu个人赛6—1003
bx回文Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionbx有一个长度一个字符串S,bx可以对其进行若干次
2017-07-16 17:40:24 455
原创 hdu个人赛6—1000
合理的电梯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionbx所在的实验楼有一座位置极其合理的电梯,bx每
2017-07-16 17:12:14 558
原创 POJ—1426
Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32261 Accepted: 13470 Special JudgeDescriptionGiven a positive integer n, write a p
2017-07-15 22:42:46 572
原创 TJU训练赛—G
4168. I-The brute force problemTime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 233 Accepted Runs: 70Xiao Ming is very interesting for array. He given a sorted positive
2017-07-15 22:12:19 491
原创 TJU训练赛—L
4171. L-The math problemTime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 286 Accepted Runs: 86Given an array a with n intergers, please tell me the max(aj−ai),0≤i≤j≤n−1m
2017-07-15 22:12:09 264
原创 TJU训练赛—J
4172. I-The dynamic programming problem1Time Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 144 Accepted Runs: 30Alice and Bob are playing a game. There is a line chess(bla
2017-07-15 22:12:00 321
原创 TJU训练赛—E
4166. A-The implementation problemTime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 140 Accepted Runs: 34Xiao Ming is very interesting for dot matrix. Xiao Ming also like
2017-07-13 08:59:23 429
原创 TJU训练赛—D
4081. God Le wants to know the directoryTime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 393 Accepted Runs: 134God Le is the most talented ACMer in the TJU-ACM team.Wh
2017-07-13 08:55:10 314
原创 TJU训练赛—C
C. find the princessIIITime Limit: 1.0 Seconds Memory Limit: 65536KIt is a pity that the Dsir cost much time in "find the princess II". The devil has dropped a bomb beside the prince
2017-07-13 08:46:49 296
原创 TJU训练赛—B
B. find the princessIITime Limit: 1.0 Seconds Memory Limit: 65536KAfter Dsir through the "find the princessI". He came to the front door. He must go through this door can save the pr
2017-07-13 08:42:46 395
原创 TJU训练赛—A
4078. find the princessITime Limit: 1.0 Seconds Memory Limit: 65536KTotal Runs: 400 Accepted Runs: 137Nowadays, lots of students enjoy the cellphone game Kupao of Tencent. The
2017-07-13 08:40:18 319
原创 ZCMU—1949
1949: #6030. 「雅礼集训 2017 Day1」矩阵Time Limit: 1 Sec Memory Limit: 256 MBSubmit: 24 Solved: 10[Submit][Status][Web Board]Description有一个 n×n n \times nn×n 的矩阵,每个位置 (i,j) (i, j)(i,j) 如
2017-07-11 16:23:53 342
原创 ZCMU—1948
1948: #6029. 「雅礼集训 2017 Day1」市场Time Limit:2 SecMemory Limit:256 MBSubmit:30Solved:5[Submit][Status][Web Board]Description从前有一个贸易市场,在一位执政官到来之前都是非常繁荣的,自从他来了之后,发布了一系列奇怪的政令,导致贸易市场的衰落。有n ...
2017-07-11 16:10:20 678
原创 ZCMU—1947
1947: #514. 「LibreOJ β Round #2」模拟只会猜题意Time Limit: 1 Sec Memory Limit: 256 MBSubmit: 86 Solved: 23[Submit][Status][Web Board]Description给定一个长度为 nnn 的序列 AAA 。定义 f(l,r)=∑i=lrAif(l,
2017-07-11 16:03:53 449
原创 “盛大游戏杯”—K 购买装备
购买装备(“盛大游戏杯”第15届上海大学程序设计联赛夏季赛暨上海高校金马五校赛(重现赛))发布时间: 2017年7月9日 20:20 时间限制: 1000ms 内存限制: 128M描述最近盛大的一款游戏传奇世界极其火爆。游戏玩家John,想购买游戏中的装备。已知游戏的商店里有n件装备,第i件装备具有属性值ai,购买需要花费bi个金币。John想去购买这些装备,但
2017-07-10 17:18:00 1957
原创 博弈入门—NIM&SG
//博弈是个好东西,可惜我不懂...所以最近恶补了一下...有点总结写给自己看..顺便分享一下求大佬赐教...这里要先说一下必胜点(P-positio)和必败点(N-position)必胜点和必败点的概念: P点:必败点,换而言之,就是谁处于此位置,则在双方操作正确的情况下必败。 N点:必胜点,处于此情况下,双方操作均正确的情况下必胜。
2017-07-10 11:23:02 16837
原创 hdu—1012
YYF和女朋友玩游戏Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description在若干年后,yyf终于找到了女朋友。这天y
2017-07-02 18:38:44 390
原创 hdu—1012
魔法王国Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description小Z是一位善良的神,他管辖的区域有n个单位面积那么大。
2017-07-02 18:34:51 331
原创 hdu—1010
LJZ的ACM协会后援团Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionljz是acm协会的会长,众所周知,只
2017-07-02 18:32:59 366
原创 hdu—1008
yyf的家庭影院Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionyyf是全机房最有钱的土豪,独自拥有一个家庭影
2017-07-02 18:30:55 377
原创 hdu—1007
吃巧克力Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem DescriptionCYF 喜欢吃巧克力,有一天,CYF收到了一份镶嵌在平
2017-07-02 18:28:00 359
原创 hdu—1005
yyf倒水Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionyyf和他女朋友到一家饭店吃饭,饭店里的服务员给yy
2017-07-02 18:21:15 364
原创 hdu—1004
离开迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Descriptionyyf是一个日理万机的男人,但自从最近他勾搭上了女神之
2017-07-02 18:16:30 455
原创 hdu—1002
光头强选举Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem Description光头强非常渴望权利。他想赢得即将到来的选举。现在
2017-07-02 18:11:48 474
fenban.exe
2020-09-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人