ICPC-打表与查表
文章平均质量分 80
有关打表与查表的题解
海岛Blog
专注于程序设计及其竞赛,专注于集成电路EDA设计
展开
-
UVA11703 HDU3164 sqrt log sin【打表】
sqrt log sinTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 583 Accepted Submission(s): 231Problem DescriptionAn evil professor has just assigned you the following problem.A sequence is defin原创 2021-04-21 10:04:07 · 224 阅读 · 0 评论 -
UVA347 LA5455 Run【迭代+打表】
An N-digit runaround number is characterized as follows:• It is an integer with exactly N digits, each of which is between 1 and 9, inclusively.• The digits form a sequence with each digit telling where the next digit in the sequence occurs. This is done原创 2021-03-18 06:47:42 · 216 阅读 · 0 评论 -
POJ1840 Eqs【暴力+打表】
EqsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 19357 Accepted: 9371DescriptionConsider equations having the following form:a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0The coefficients are given integers from the interval [-50,50].It is consid原创 2021-03-09 06:30:00 · 251 阅读 · 0 评论 -
HDU2085 核反应堆【递推】
核反应堆Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 28690 Accepted Submission(s): 12541Problem Description某核反应堆有两类事件发生:高能质点碰击核子时,质点被吸收,放...原创 2020-05-05 00:35:57 · 599 阅读 · 0 评论 -
HDU2077 汉诺塔IV【递推+打表】
汉诺塔IVTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13298 Accepted Submission(s): 9176Problem Description还记得汉诺塔III吗?他的规则是这样的:不允许直接从最左(右)...原创 2020-05-04 21:04:45 · 448 阅读 · 0 评论 -
UVA10539 Almost Prime Numbers【筛选法+打表+二分查找】
Almost prime numbers are the non-prime numbers which are divisible by only a single prime number. In this problem your job is to write a program which finds out the number of almost prime numbers with...原创 2020-04-22 21:12:28 · 443 阅读 · 0 评论 -
UVA576 LA5321 POJ1566 Haiku Review【查表】
Haiku is an ancient form of Japanese poetry. A haiku is a three-line poem with seventeen syllables, where the first line must contain five syllables, the second line must contain seven syllables, and ...原创 2020-03-03 11:02:16 · 407 阅读 · 0 评论 -
UVA256 Quirksome Squares【查表法】
The number 3025 has a remarkable quirk: if you split its decimal representation in two strings of equal length (30 and 25) and square the sum of the numbers so obtained, you obtain the original number...原创 2020-03-01 20:19:31 · 514 阅读 · 0 评论 -
UVA897 Anagrammatic Primes【筛选法+离线程序+代码生成+条件编译】
A number greater than one is prime if it has no divisors other than itself and 1 (note that 1 is not prime). For example, 23 is prime and 35 is not prime because 35 = 7 × 5. When the digits of a numbe...原创 2020-03-01 09:24:25 · 462 阅读 · 0 评论 -
HDU2569 彼岸【打表+记忆化递归】
彼岸Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5630 Accepted Submission(s): 3254Problem Description突破蝙蝠的包围,yifenfei来到一处悬崖面前,悬崖彼岸就是前进的方...原创 2019-01-27 08:31:54 · 850 阅读 · 0 评论 -
HDU6213 Chinese Zodiac【查表+map】
Chinese ZodiacTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1037 Accepted Submission(s): 654 Problem DescriptionThe Chinese Zodiac,...原创 2018-07-27 23:10:52 · 717 阅读 · 0 评论 -
UVA10921 Find the Telephone【编码】
In some places is common to remember a phone number associating its digits to letters. In this way the expression “MY LOVE” means 69 5683. Of course there are some problems, because some phone numbers...原创 2018-05-25 05:13:03 · 788 阅读 · 0 评论 -
UVA11530 SMS Typing【模拟+map+查表】
Cell phones have become an essential part of modern life. In addition tomaking voice calls, cell phones can be used to send text messages, whichare known as SMS for short. Unlike computer keyboards, m原创 2018-01-19 22:01:11 · 1179 阅读 · 0 评论 -
HDU2005 第几天?【日期计算】
第几天?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 150077Accepted Submission(s): 53872Problem Description给定一个日期,输出这个日期是该年的第几天...原创 2016-06-25 14:38:06 · 11655 阅读 · 7 评论 -
POJ1002 487-3279【查表】(Bailian1002, Bailian2974)
487-3279Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 299207 Accepted: 53544DescriptionBusinesses like to have memorable telephone numbers. One way to原创 2017-12-09 10:18:53 · 919 阅读 · 0 评论 -
HDU1048 POJ1298 ZOJ1392 UVALive2540 The Hardest Problem Ever【密码+水题】
The Hardest Problem EverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 26502 Accepted: 14358DescriptionJulius Caesar lived in a time of danger and intr原创 2016-07-07 14:21:05 · 2488 阅读 · 0 评论 -
POJ2538 ZOJ1884 UVA10082 WERTYU【输入输出+水题】
WERTYUTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9449 Accepted: 4515DescriptionA common typing error is to place the hands on the keyboard one ro原创 2016-07-29 08:41:36 · 1487 阅读 · 0 评论 -
ZOJ1159 UVA755 UVALive5420 487-3279【查表】
487-3279Time Limit: 10 Seconds Memory Limit: 32768 KBBusinesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word原创 2017-12-09 10:52:27 · 764 阅读 · 0 评论 -
HDU2004 成绩转换【入门】
成绩转换Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 163383Accepted Submission(s): 71157Problem Description输入一个百分制的成绩t,将其转...原创 2016-06-25 14:19:23 · 7534 阅读 · 8 评论 -
UVA1586 UVALive3900 Molar mass【输入输出+水题】
An organic compound is any member of a large class of chemicalcompounds whose molecules contain carbon. The molarmass of an organic compound is the mass of one mole of theorganic compound. The molar m原创 2016-07-28 21:52:25 · 1562 阅读 · 0 评论 -
POJ2121 ZOJ2311 Inglish-Number Translator【map+字符串比较+水题】
Inglish-Number TranslatorTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5597 Accepted: 2203DescriptionIn this problem, you will be given one or more in原创 2018-01-17 00:10:13 · 1155 阅读 · 0 评论 -
HDU1228 A + B【map】
A + BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17920 Accepted Submission(s): 10745Problem Description读入两个小于100的正整数A和B,计算A+B原创 2017-04-05 17:40:19 · 3079 阅读 · 1 评论 -
HDU2352 Verdis Quo【记数法转换+罗马数字】
Verdis QuoTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1405 Accepted Submission(s): 1026Problem DescriptionThe Romans used let原创 2016-07-17 08:32:45 · 1997 阅读 · 0 评论