自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

海岛Blog

海是无垠的,岛在海中是独立的,有一片自己的天空

  • 博客(2910)
  • 论坛 (6)
  • 收藏
  • 关注

原创 markdown数学公式

数学公式放入$$之间。上下标:^和_,$a^2+b^2$显示如下:a2+b2a^2+b^2a2+b2

2021-03-17 07:57:23 187

原创 2021年,ICPC比赛、CCPC比赛、CCF-CSP考试、蓝桥杯比赛、天梯赛日程

CCF-CSP考试日程:第22次 4月11日(考试日期调整,这是最后的通知)第23次 9月12日第24次 12月12日CCSP比赛:CCSP区域赛、总决赛(未定)ICPC比赛日程:澳门站 澳门大学 2021年3月13-14日 线上赛银川站 宁夏理工学院 2020年3月27-28日昆明站 昆明理工大学 2020年4月03-04日沈阳站 东北大学 2020年4月10-11日EC Final 西安 西北工业大学 2021年4月17-18日西杰阿雄与ICPCAsia的博客孟加拉虎的博客

2017-03-12 20:23:34 8437 6

原创 CCF-CSP认证历年真题解

程序员需要有精益求精的工匠精神,追求逻辑的极简、时间的最少和存储的最省,并且懂得其中的平衡。数据表示需要优先考虑,对于许多问题,找到表示该问题的数据结构,问题自然就解决了。CCF计算机职业资格认证的每一道试题都十分经典,覆盖现实世界中方方面面的问题。这个历年试题解主要使用C/C++语言编写,程序中附有注释,力求解题思路清晰简洁,值得珍藏与模仿。希望获得100分,仅仅使用原题的样例来测试...

2017-01-28 00:49:14 231333 40

原创 POJ3243 Clever Y【大步小步法】

Clever YTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 11799 Accepted: 2932DescriptionLittle Y finds there is a very interesting formula in mathematics:XYmodZ=KX^Y mod Z = KXYmodZ=KGiven X, Y, Z, we all know how to figure out K fast. How

2021-05-18 06:27:10 58

原创 POJ2142 LA3185 HDU1356 The Balance【同余方程】

The BalanceTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 11540 Accepted: 5007DescriptionMs. Iyo Kiffa-Australis has a balance and only two kinds of weights to measure a dose of medicine. For example, to measure 200mg of aspirin using 300m

2021-05-18 00:14:59 3

原创 POJ2115 ZOJ2305 C Looooops【同余方程】

C LooooopsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 39685 Accepted: 11680DescriptionA Compiler Mystery: We are given a C-language style for loop of typefor (variable = A; variable != B; variable += C)statement;I.e., a loop which st

2021-05-12 01:11:40 13

原创 POJ2891 Strange Way to Express Integers【线性同余方程】

Strange Way to Express IntegersTime Limit: 1000MS Memory Limit: 131072KTotal Submissions: 25867 Accepted: 8533DescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is describ

2021-05-12 00:48:05 12

原创 UVA12081 LA3413 POJ2769 Reduced ID Numbers【同余】

Reduced ID NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11934 Accepted: 4666DescriptionT. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Number (SIN). A SIN s is an int

2021-05-12 00:24:14 4

原创 HDU1573 X问题【扩展欧几里得算法】

X问题Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10234 Accepted Submission(s): 3735Problem Description求在小于等于N的正整数中有多少个X满足:X mod a[0] = b[0], X mod a[1] = b[1], X mod a[2] = b[2], …, X mod a[i

2021-05-11 18:45:56 13

原创 POJ2083 Fractal【打印图案】

FractalTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 21167 Accepted: 8462DescriptionA fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit exactly the sa

2021-05-09 23:47:52 23

原创 POJ2183 Bovine Math Geniuses【水题】

Bovine Math GeniusesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3261 Accepted: 1994DescriptionFarmer John loves to help the cows further their mathematical skills. He has promised them Hay-flavored ice cream if they can solve various ma

2021-05-09 23:10:15 15

原创 UVA11549 Calculator Conundrum【循环节】

Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster.    She enters a number k then repeatedly squares it until the result overflows. When the result overflows,

2021-05-09 21:09:58 5

原创 UVA11053 POJ2939 HDU1488 Flavius Josephus Reloaded【循环节】

Flavius Josephus ReloadedTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 2193 Accepted: 818DescriptionFlavius Josephus once was trapped in a cave together with his comrade soldiers surrounded by Romans. All of Josephus’ fellow soldiers pref

2021-05-09 19:42:15 4

原创 CodeForces - 1519B The Cake Is a Lie

B. The Cake Is a Lietime limit per test2 secondsmemory limit per test256 megabytesThere is a n×m grid. You are standing at cell (1,1) and your goal is to finish at cell (n,m).You can move to the neighboring cells to the right or down. In other words, s

2021-05-09 11:01:42 17

原创 CodeForces - 1519A Red and Blue Beans

A. Red and Blue Beanstime limit per test1 secondmemory limit per test256 megabytesYou have r red and b blue beans. You’d like to distribute them among several (maybe, one) packets in such a way that each packet:has at least one red bean (or the number

2021-05-09 10:48:23 8

原创 CodeForces - 1517B Morning Jogging

B. Morning Joggingtime limit per test1 secondmemory limit per test256 megabytesThe 2050 volunteers are organizing the “Run! Chase the Rising Sun” activity. Starting on Apr 25 at 7:30 am, runners will complete the 6km trail around the Yunqi town.There a

2021-05-09 10:22:53 24

原创 CodeForces - 1517A Sum of 2050

A. Sum of 2050time limit per test1 secondmemory limit per test256 megabytesA number is called 2050-number if it is 2050, 20500, …, (2050⋅10k for integer k≥0).Given a number n, you are asked to represent n as the sum of some (not necessarily distinct) 2

2021-05-09 10:07:12 8

原创 2021团体程序设计天梯赛-太原理工成绩大跃进

在2021年4月24日举行的2021年团体程序设计天梯赛上,太原理工大学5个队50名队员参加“珠峰争鼎”组比赛。一个队获得全国团体三等奖(如果参加“华山论剑”组,成绩是全国第13名),同时获得山西省高校特等奖。全国个人奖方面取得大跃进:一等奖5人、二等奖6人、三等奖12人。...

2021-05-09 08:45:21 94

原创 UVA11115 POJ3199 Uncle Jack【大数】

Dear Uncle Jack is willing to give away some of his collectable CDs to his nephews. Among the titles you can find very rare albums of Hard Rock, Classical Music, Reggae and much more; each title is considered to be unique. Last week he was listening to one

2021-05-08 23:34:52 18

原创 UVA1258 LA4721 Nowhere Money【数学计算】

We suspect that for every positive integer N there exists an integer of the form 11 . . . 10 . . . 0 (a sequence of 1’s followed by 0 or more 0’s) that is divisible by N. For example, with N = 3, 111 is divisible by 3, with N = 4, 100 is divisible by 4, wi

2021-05-08 20:05:00 15

原创 UVA11554 Hapless Hedonism【数学计算+大数】

Bob is a world-renowned stick collector. His most prized stick possessions include:• an Arctic Redwood branch from a hike near Dawson City,• a Desert Pine stick from a visit to the Grand Canyon, and• a Chinese Arbour twig from an adventure into Tibet.B

2021-05-08 19:53:17 25

原创 UVA11161 Help My Brother (II)【大数+递推】

A Fibonacci sequence is calculated by adding the previous two members of the sequence, with the first two members being both 1.f(1)=1,f(2)=1,f(n>2)=f(n−1)+f(n−2)f(1) = 1, f(2) = 1, f(n > 2) = f(n − 1) + f(n − 2)f(1)=1,f(2)=1,f(n>2)=f(n−1)+f(n−2)

2021-05-08 07:26:17 24

原创 UVA10497 Sweet Child Makes Trouble【大数+递推】

Children are always sweet but they can sometimes make you feel bitter. In this problem, you will see how Tintin, a five year’s old boy, creates trouble for his parents. Tintin is a joyful boy and is always busy in doing something. But what he does is not a

2021-05-08 07:12:27 6

原创 UVA10198 Counting【大数+递推】

Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn’t realize yet that 4 is different than 1, so he thinks that 4 is another way to write 1. Besides that, he is h

2021-05-08 06:47:23 7

原创 UVA763 LA5339 Fibinary Numbers【大数】

The standard interpretation of the binary number 1010 is 8 + 2 = 10. An alternate way to view the sequence “1010” is to use Fibonacci numbers as bases instead of powers of two. For this problem, the terms of the Fibonacci sequence are:1,2,3,5,8,13,21,...1

2021-05-08 00:32:09 10

原创 UVA485 Pascal‘s Triangle of Death【大数】

In this problem, you are asked to generate Pascal’s Triangle. Pascal’s Triangle is useful in many areas from probability to polynomials to programming contests. It is a triangle of integers with “1” on top and down the sides. Any number in the interior equ

2021-05-08 00:04:46 16

原创 UVA1226 LA3997 Numerical surprises【大数】

We suspect that for every positive integer N there exists an integer of the form 11 . . . 10 . . . 0 (a sequence of 1’s followed by 0 or more 0’s) that is divisible by N. For example, with N = 3, 111 is divisible by 3, with N = 4, 100 is divisible by 4, wi

2021-05-07 23:18:43 7

原创 UVA619 LA5465 POJ1312 HDU1314 ZOJ1272 Numerically Speaking【大数+进制】

Numerically SpeakingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 1346 Accepted: 718DescriptionA developer of crossword puzzles (and other similar word games) has decided to develop a mapping between every possible word with from one to t

2021-05-07 22:37:19 9

原创 罗老师算法竞赛专题解析

罗勇军的博客《算法竞赛入门到进阶》作者二分法、三分法 --算法竞赛专题解析(1)_罗勇军的博客-CSDN博客尺取法 --算法竞赛专题解析(2)_罗勇军的博客-CSDN博客并查集 --算法竞赛专题解析(3)_罗勇军的博客-CSDN博客杜教筛 以及积性函数的前世今生 --算法竞赛专题解析(4)_罗勇军的博客-CSDN博客简单数据结构 --算法竞赛专题解析(5)_罗勇军的博客-CSDN博客搜索基础 --算法竞赛专题解析(6)_罗勇军的博客-CSDN博客_算法竞赛入门到进阶罗勇军电子版.

2021-05-07 10:50:48 130

原创 UVA10190 Divide, But Not Quite Conquer!【等差数列】

Your goal in this problem is to divide a certain integer n by another integer m until n = 1, obtaining a sequence of numbers. Lets call a[i] each number of this sequence, and let’s say it has k numbers (i.e. you must do k − 1 succesive divisions to reach n

2021-05-06 01:01:38 32

原创 UVA10154 Weights and Measures【0-1背包】

I know, up on top you are seeing great sights,But down at the bottom, we, too, should have rights.We turtles can’t stand it. Our shells will all crack!Besides, we need food. We are starving!” groaned Mack.    Mack, in an effort to a

2021-05-06 00:13:58 15

原创 UVA1224 LA3904 Tile Code【铺砖问题】

The city of Songpa is now carrying out a project to build a bicycle transportation system called green Songpa. By the end of this year, citizens and visitors alike will be able to pick up and drop off bicycles throughout the city. Recently, it was decided

2021-05-05 07:24:29 12

原创 UVA12022 Ordering T-shirts【数学+打表】

Working in a boutique folding and putting in order T-shirts according to their sizes seems very easy.But is it really so simple?Given n objects of different sizes, how many different arrangements can be done using relationships‘¡’ and ‘=’?For instance,

2021-05-05 06:55:26 10

原创 UVA356 LA5250 Square Pegs And Round Holes【计算几何】

A circle 2n − 1 units in diameter has been drawn centered on a 2n by 2n chessboard. The construction for n = 3 is illustrated below.    Write a program that will determine the number of cells of the board which contain a segment of th

2021-05-05 06:29:27 84

原创 UVA11821 High-Precision Number【大数】

A number with 30 decimal digits of precision can be represented by a structure type as shown in the examples below. It includes a 30-element integer array (digits), a single integer (decpt) to represent the position of the decimal point and an integer (or

2021-05-05 06:28:01 101 1

原创 UVA326 LA5434 POJ1538 Extrapolation Using a Difference Table【二项式】

Extrapolation Using a Difference TableTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 306 Accepted: 166DescriptionA very old technique for extrapolating a sequence of values is based on the use of a difference table. The difference table us

2021-05-05 06:15:42 83

原创 UVA263 LA5372 Number Chains【字符串Ad Hoc】

Given a number, we can form a number chain byarranging its digits in descending orderarranging its digits in ascending ordersubtracting the number obtained in (2) from the number obtained (1) to form a new numberand repeat these steps unless the new n

2021-05-05 06:14:10 83

原创 UVA275 LA5384 POJ1140 Expanding Fractions【循环节】

Expanding FractionsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3838 Accepted: 1468DescriptionIn this problem you are to print the decimal expansion of a quotient of two integers. As you well know, the decimal expansions of many integer

2021-05-05 06:05:31 82

原创 UVA280 LA5588 Vertex【DFS】

Write a program that searches a directed graph for vertices which are inaccessible from a given starting vertex.    A directed graph is represented by n vertices where 1 ≤ n ≤ 100, numbered consecutively 1 . . . n , and a series of edg

2021-05-04 18:00:58 10

原创 UVA11218 KTV【回溯】

One song is extremely popular recently, so you and your friends decided to sing it in KTV. The song has 3 characters, so exactly 3 people should sing together each time (yes, there are 3 microphones in the room). There are exactly 9 people, so you decided

2021-05-04 17:28:53 7

空空如也

海岛Blog的留言板

发表于 2020-01-02 最后回复 2020-01-02

这标签做的

发表于 2018-04-08 最后回复 2018-11-20

越改越恶心的CSDN博客

发表于 2018-03-23 最后回复 2018-03-23

没事干是吧?改来改去的

发表于 2018-01-05 最后回复 2018-01-05

不小心把待审查的博客删除了

发表于 2017-11-03 最后回复 2017-11-03

专栏重复如何删除

发表于 2017-02-15 最后回复 2017-11-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人 TA的粉丝

提示
确定要删除当前文章?
取消 删除