
水题
文章平均质量分 77
阿阿阿黄
后续文章更新:https://segmentfault.com/u/aaahuang
展开
-
UESTC-- 1263
B - BTime Limit:1000MS Memory Limit:65535KB 64bit IO Format:%lld & %lluSubmit Status Practice UESTC 1263DescriptionZYHAzwraith用自己心爱的键盘换来了很多支漂亮的荧光棒!一天,他准备用一条由很多个莹光圈相互连接而原创 2016-01-16 18:12:20 · 355 阅读 · 0 评论 -
ZZULI Oj--1817
1817: match numberTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 75 Solved: 35SubmitStatusWeb BoardDescription喜欢写程序的同学一般对数字较为敏感。对于一串长度为2*n的号码,我们认为如果它符合以下条件,就是匹配的:把这个号码分为左右两半部分,长度均为n原创 2015-12-08 17:13:57 · 690 阅读 · 0 评论 -
hdu--5600
N bulbsTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 446 Accepted Submission(s): 245Problem DescriptionN bulbs are in a ro原创 2016-01-10 14:06:18 · 363 阅读 · 0 评论 -
hdu--5533
Dancing Stars on MeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 592 Accepted Submission(s): 315Problem DescriptionThe sk原创 2015-12-06 19:32:12 · 353 阅读 · 0 评论 -
hdu-5620
KK's SteelTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 218 Accepted Submission(s): 103Problem DescriptionOur lovely KK has原创 2016-02-08 19:52:43 · 568 阅读 · 0 评论 -
BestCoder Round #72 (div.2)--1001
Clarke and chemistry Accepts: 225 Submissions: 601 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionClarke is a pat原创 2016-02-13 21:18:20 · 396 阅读 · 0 评论 -
UESTC--1251(模拟)
B - 你累了Time Limit:1000MS Memory Limit:65535KB 64bit IO Format:%lld & %lluSubmit Status Practice UESTC 1251Description谕神是集训队里面智商数一数二的大神,在他的电脑里储存着他在学习的东西。每天都要通过学习来提高自己的知识水平。然原创 2016-03-05 18:17:52 · 478 阅读 · 0 评论 -
CodeForces-630C. Lucky Numbers
Lucky NumbersTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe numbers of all offices in the new building of the Tax Office of IT原创 2016-02-20 14:49:48 · 846 阅读 · 0 评论 -
nyoj540(结构体排序)
奇怪的排序时间限制:1000 ms | 内存限制:65535 KB难度:1描述最近,Dr. Kong 新设计一个机器人Bill.这台机器人很聪明,会做许多事情。惟独对自然数的理解与人类不一样,它是从右往左读数.比如,它看到123时,会理解成321.让它比较23与15哪一个大,它说15大。原因是它的大脑会以为是32与51在进行比较.再比如让它比较29与30,它说29大.给原创 2016-04-01 11:51:08 · 432 阅读 · 0 评论 -
hdu--1413
素数回文Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1431Descriptionxiaoou33对既是素数又是回文的数特别感兴趣。比如说151既是素数又是个回文。现在xiaoou333想要你帮助他原创 2016-04-02 20:16:24 · 594 阅读 · 0 评论 -
Light oj-1370(素数筛选)
Bi-shoe and Phi-shoeTime Limit: 2000MSMemory Limit: 32768KB64bit IO Format: %lld & %lluSubmit StatusDescriptionBamboo Pole-vault is a massively popular sport in Xzhilan原创 2016-02-29 21:17:02 · 562 阅读 · 0 评论 -
hdu1432
Lining UpTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1432Description``How am I ever going to solve this problem?" said th原创 2016-04-07 17:58:29 · 587 阅读 · 0 评论 -
nyoj251
AMAZING AUCTION时间限制:3000 ms | 内存限制:65535 KB难度:4描述Recently the auction house has introduced a new type of auction, the lowest price auction. In this new system, people compete for the lowes原创 2016-03-26 22:29:43 · 382 阅读 · 0 评论 -
nyoj709
异 形 卵时间限制:1000 ms | 内存限制:65535 KB难度:2描述我们探索宇宙,是想了解浩瀚星空的奥妙,但我们却很少意识到宇宙深处藏匿的危险,它们无时无刻不紧盯着我们的地球。如果外星人拜访我们,结果可能与哥伦布当年踏足美洲大陆不会有什么两样,这是历史,也是现实。在ZDM-777星球上发现的休眠异形卵,其外表与常见的卵不同,表面被一层石墨覆盖。当人走近时,那层原创 2016-04-13 16:16:08 · 374 阅读 · 0 评论 -
HDU 5665
LuckyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 555 Accepted Submission(s): 328Problem Description Chaos August lik原创 2016-04-26 20:38:58 · 509 阅读 · 0 评论 -
hdu-5120(两圆相交面积)
IntersectionTime Limit: 4000/4000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1857 Accepted Submission(s): 708Problem DescriptionMatt is a bi原创 2016-04-23 20:48:40 · 504 阅读 · 0 评论 -
nyoj--709
异 形 卵时间限制:1000 ms | 内存限制:65535 KB难度:2描述我们探索宇宙,是想了解浩瀚星空的奥妙,但我们却很少意识到宇宙深处藏匿的危险,它们无时无刻不紧盯着我们的地球。如果外星人拜访我们,结果可能与哥伦布当年踏足美洲大陆不会有什么两样,这是历史,也是现实。在ZDM-777星球上发现的休眠异形卵,其外表与常见的卵不同,表面被一层石墨覆盖。当人走近时,那层原创 2016-01-26 11:31:09 · 356 阅读 · 0 评论 -
Light oj--1148
DescriptionMob was hijacked by the mayor of the Town "TruthTown". Mayor wants Mob to count the total population of the town. Now the naive approach to this problem will be counting people one by o原创 2015-12-06 12:39:50 · 458 阅读 · 0 评论 -
hpu--1715
1715: 感恩节KK专场——2015年的第一场雪时间限制: 1 Sec 内存限制: 128 MB提交: 865 解决: 76[提交][状态][讨论版]题目描述下雪了,KK学长站在三教门口,看学弟学妹们堆雪人。突然KK学长发现一个神奇的规律:春秋大道上能被k整除的位置都会有一个雪人。现在KK学长想知道春秋大道的[x, y]区间里面有多少个雪人。输入原创 2015-11-29 20:36:27 · 318 阅读 · 0 评论 -
hpu--1717
1717: 感恩节KK专场——爬楼梯时间限制: 1 Sec 内存限制: 1000 MB提交: 382 解决: 89[提交][状态][讨论版]题目描述来机房比赛的时候大家都会爬楼梯,但是每个人可以迈出的最大步子不一样,所以到达机房的方案数也会不同。现在KK提出一个问题:目的地在第n层楼梯,我们在第1层,已知我们每次最多可以迈出3个台阶。问有多少种方案可以到达目的地原创 2015-11-29 20:44:35 · 373 阅读 · 0 评论 -
hdu--2674
DescriptionWhereIsHeroFrom: Zty, what are you doing ? Zty: I want to calculate N!...... WhereIsHeroFrom: So easy! How big N is ? Z原创 2015-12-01 18:47:55 · 381 阅读 · 0 评论 -
Lightoj --1294
DescriptionGiven two integers: n and m and n is divisible by 2m, you have to write down the first n natural numbers in the following form. At first take first mintegers and make their sign negat原创 2015-12-01 19:22:09 · 459 阅读 · 0 评论 -
Light oj--1008
DescriptionFibsieve had a fantabulous (yes, it's an actual word) birthday party this year. He had so many gifts that he was actually thinking of not having a party next year.Among these gifts th原创 2015-12-02 20:08:49 · 406 阅读 · 0 评论 -
Light--1078(取模运算)
DescriptionIf an integer is not divisible by 2 or 5, some multiple of that number in decimal notation is a sequence of only a digit. Now you are given the number and the only allowable digit, you原创 2015-12-03 16:34:53 · 309 阅读 · 0 评论 -
Light oj--1275(二次函数)
DescriptionA group of N Internet Service Provider companies (ISPs) use a private communication channel that has a maximum capacity of C traffic units per second. Each company transfers T traffic u原创 2015-12-03 21:17:09 · 338 阅读 · 0 评论 -
hdu--2138
How many prime numbersTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14698 Accepted Submission(s): 5098Problem Description原创 2015-12-21 10:02:42 · 346 阅读 · 0 评论 -
poj--2229
SumsetsTime Limit: 2000MS Memory Limit: 200000KTotal Submissions: 15048 Accepted: 6000DescriptionFarmer John commanded his cows to search for different sets of nu原创 2015-12-21 10:36:52 · 326 阅读 · 0 评论 -
hdu--1009
FatMouse' TradeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 58364 Accepted Submission(s): 19546Problem DescriptionFatMouse原创 2015-12-21 12:24:42 · 307 阅读 · 0 评论 -
Light oj--1116
DescriptionEkka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggested that Ekka is very fond of odd num原创 2015-12-03 17:17:33 · 317 阅读 · 0 评论 -
Light oj--1214(大数整除)
DescriptionGiven two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and only if there exists an integer c such原创 2015-12-03 17:38:21 · 385 阅读 · 0 评论 -
hdu--5605
geometryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 157 Accepted Submission(s): 117Problem DescriptionThere is a point P原创 2016-01-06 16:43:45 · 405 阅读 · 0 评论 -
hdu--5499
SDOITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 701 Accepted Submission(s): 275Problem DescriptionThe Annual National O原创 2015-12-04 18:14:46 · 398 阅读 · 0 评论 -
hdu--5611
Baby Ming and phone numberTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 261 Accepted Submission(s): 82Problem DescriptionBa原创 2016-01-23 22:48:05 · 600 阅读 · 0 评论 -
hdu--1034
Candy Sharing GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4444 Accepted Submission(s): 2714Problem DescriptionA numbe原创 2015-12-07 10:04:16 · 259 阅读 · 0 评论 -
各类语言计算二维数组的行、列长度
C/C++int p[3][5];int len=sizeof(p)/sizeof(int);//数组总数int len2=sizeof(p[0])/sizeof(int);//数组行数int len3=len/len2;//数组列数Javaint[][] num; //定义一个int类型的2维数组num = new int[5][5]; //为它分配5行5列的空间大int ...原创 2018-03-18 20:55:45 · 3230 阅读 · 0 评论