随笔分类 -  思维题

有难有易
 
17 多校1 Add More Zero 水题
摘要:Problem Description There is a youngster known for amateur propositions concerning several mathematical hard problems.Nowadays, he is preparing a thou 阅读全文
posted @ 2017-07-26 09:59 Annetree 阅读(398) 评论(0) 推荐(0)
FZU 2272 Frog 第八届福建省赛 (鸡兔同笼水题)
摘要:Problem Description Therearex frogs and y chicken in a garden. Kim found there are n heads and m legs in the garden. Please tell Kim how many frogs an 阅读全文
posted @ 2017-07-24 09:59 Annetree 阅读(187) 评论(0) 推荐(0)
16 多校8 Rikka with Parenthesis II
摘要:As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them: Correct 阅读全文
posted @ 2017-07-18 16:23 Annetree 阅读(188) 评论(0) 推荐(0)
POJ 3299 Humidex
摘要:Adapted from Wikipedia, the free encyclopedia The humidex is a measurement used by Canadian meteorologists to reflect the combined effect of heat and 阅读全文
posted @ 2017-07-15 16:25 Annetree 阅读(222) 评论(0) 推荐(0)
2016 多校联赛7 Elegant Construction
摘要:Being an ACMer requires knowledge in many fields, because problems in this contest may use physics, biology, and even musicology as background. And no 阅读全文
posted @ 2017-07-14 14:52 Annetree 阅读(113) 评论(0) 推荐(0)
HDU 2012 素数判定
摘要:Problem Description 对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39<=x<y<=50),判定该表达式的值是否都为素数。 Input 输入数据有多组,每组占一行,由两个整数x,y组成,当x=0,y=0时,表示输入结束,该行不做处理。 Output 阅读全文
posted @ 2017-07-10 09:59 Annetree 阅读(202) 评论(0) 推荐(0)
HDU 1205 吃糖果(想想题)
摘要:题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=1205 Problem Description HOHO,终于从Speakless手上赢走了所有的糖果,是Gardon吃糖果时有个特殊的癖好,就是不喜欢将一样的糖果放在一起吃,喜欢先吃一种,下一次吃另一种 阅读全文
posted @ 2017-06-29 16:51 Annetree 阅读(300) 评论(0) 推荐(0)
ZOJ 17届校赛 How Many Nines
摘要:If we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates between Y1-M1-D1 and Y 阅读全文
posted @ 2017-04-10 18:29 Annetree 阅读(415) 评论(0) 推荐(0)
ZOJ 1985 Largest Rectangle in a Histogram(刷广告)2010辽宁省赛
摘要:Largest Rectangle in a Histogram Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21204 Accepted: 6831 Description A histogram is a polygon 阅读全文
posted @ 2017-03-29 22:24 Annetree 阅读(128) 评论(0) 推荐(0)
NBUT 1220 SPY 2010辽宁省赛
摘要:Time limit 1000 ms Memory limit 131072 kB The National Intelligence Council of X Nation receives a piece of credible information that Nation Y will se 阅读全文
posted @ 2017-03-29 19:26 Annetree 阅读(175) 评论(0) 推荐(0)
NBUT 1219 Time 2010辽宁省赛
摘要:Time limit 1000 ms Memory limit 131072 kB Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” 阅读全文
posted @ 2017-03-29 19:13 Annetree 阅读(162) 评论(0) 推荐(0)
NBUT 1217 Dinner 2010辽宁省赛
摘要:Time limit 1000 ms Memory limit 32768 kB Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invi 阅读全文
posted @ 2017-03-29 19:05 Annetree 阅读(241) 评论(0) 推荐(0)
2017广东工业大学程序设计竞赛决赛 tmk买礼物
摘要:Description 今天是校赛的日子,为了庆祝这么喜庆的日子,TMK打算买些礼物给女票LSH庆祝一下。 TMK进入了雪梨超市,然后刚踏入的一瞬间,店主就对TMK说:“恭喜你成为了本店第2147483647位顾客,本店在搞一个活动,对本店第2147483647位顾客进行赠送活动。你先看看你有多少钱 阅读全文
posted @ 2017-03-26 20:55 Annetree 阅读(236) 评论(0) 推荐(0)
ZOJ 2965 Accurately Say "CocaCola"!
摘要:Time Limit: 2 Seconds Memory Limit: 65536 KB In a party held by CocaCola company, several students stand in a circle and play a game. One of them is s 阅读全文
posted @ 2017-02-18 20:10 Annetree 阅读(228) 评论(0) 推荐(0)
HDU 3361 ASCII
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 756 Accepted Submission(s): 382 Problem Descripti 阅读全文
posted @ 2017-01-16 10:39 Annetree 阅读(262) 评论(0) 推荐(0)
codeforces 192A Funky Numbers
摘要:time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per test 2 seconds time limit 阅读全文
posted @ 2017-01-14 11:03 Annetree 阅读(670) 评论(0) 推荐(0)
2016 ACM/ICPC Asia Regional Qingdao Online 1005 Balanced Game
摘要:Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0 Problem Description R 阅读全文
posted @ 2016-09-17 21:59 Annetree 阅读(160) 评论(0) 推荐(0)
HDU 4520 小Q系列故事——最佳裁判
摘要:Problem Description 过去的2012年对小Q来说是很悲催的一年,失恋了12次,每次都要郁闷1个来月。 好在小Q是个体育迷,在最痛苦的时候,他常常用观看各种体育节目来麻醉自己,比如伦敦奥运会期间,小Q就常常在周末邀上一群单身同事聚在自己的蜗居,一边畅饮啤酒,一边吹牛。 小Q最喜欢看的 阅读全文
posted @ 2016-09-11 22:34 Annetree 阅读(211) 评论(0) 推荐(0)
POJ 2231 Moo Volume
摘要:Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description Farmer John has received a noise complaint from his neighbor, Farmer Bo 阅读全文
posted @ 2016-08-30 23:19 Annetree 阅读(180) 评论(0) 推荐(0)
HDU 1564 Play a game
摘要:Description New Year is Coming! ailyanlu is very happy today! and he is playing a chessboard game with 8600. The size of the chessboard is n*n. A ston 阅读全文
posted @ 2016-08-04 08:08 Annetree 阅读(107) 评论(0) 推荐(0)