随笔分类 -
思维题
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
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
HDU 1205 吃糖果(想想题)
摘要:题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=1205 Problem Description HOHO,终于从Speakless手上赢走了所有的糖果,是Gardon吃糖果时有个特殊的癖好,就是不喜欢将一样的糖果放在一起吃,喜欢先吃一种,下一次吃另一种
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
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”
阅读全文
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
阅读全文
2017广东工业大学程序设计竞赛决赛 tmk买礼物
摘要:Description 今天是校赛的日子,为了庆祝这么喜庆的日子,TMK打算买些礼物给女票LSH庆祝一下。 TMK进入了雪梨超市,然后刚踏入的一瞬间,店主就对TMK说:“恭喜你成为了本店第2147483647位顾客,本店在搞一个活动,对本店第2147483647位顾客进行赠送活动。你先看看你有多少钱
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
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
阅读全文
HDU 4520 小Q系列故事——最佳裁判
摘要:Problem Description 过去的2012年对小Q来说是很悲催的一年,失恋了12次,每次都要郁闷1个来月。 好在小Q是个体育迷,在最痛苦的时候,他常常用观看各种体育节目来麻醉自己,比如伦敦奥运会期间,小Q就常常在周末邀上一群单身同事聚在自己的蜗居,一边畅饮啤酒,一边吹牛。 小Q最喜欢看的
阅读全文
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
阅读全文
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
阅读全文
|