自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(88)
  • 资源 (1)
  • 收藏
  • 关注

原创 系统开发基础

2、基本加工逻辑说明必须描述基本加工如何把输入数据流变换为输出数据流的加工规则。的说明有三种描述方式: 结构化语言、判断表(决策表)、判断树 (决策树)。4、加工逻辑说明中包含的信息应是充足的,完备的,有用的,无冗余的。1、对数据流图的每一个基本加工,必须有一个基本加工逻辑说明。3、加工逻辑说明必须描述实现加工的策略而不是实现加工的细节。基本加工逻辑描述的基本原则。

2023-08-11 09:56:09 57

原创 计算机网络常用命令

【代码】计算机网络常用命令。

2023-08-11 09:14:46 132

原创 Day 3

A - Birthday Cake#include<iostream>using namespace std;int main(){ int n; while(cin >> n){ if(n == 0) break; int a[600][2], temp[1010]; int t1, t2, x, y; bool flag = false; t1 = t2 = 0; for(int i = 0; i < 2*n; i++)...

2021-01-22 09:14:31 200

原创 Day 4

测试链接:https://vjudge.net/contest/418802目录A - NecklaceB - Bode PlotC - Symmetric MatrixD - Homogeneous SquaresE - To the MaxF - Who's in the MiddleG - Train SwappingH - DNA SortingA - Necklace#include<cstdio>int main(){ int.

2021-01-22 08:46:53 159

原创 Day 2

测试链接:https://vjudge.net/contest/418415#overview目录A - Maya CalendarB - Diplomatic LicenseC - "Accordian" PatienceD - Broken Keyboard (a.k.a. Beiju Text)E - SatellitesF - Fourth Point !!G - The Circumference of the CircleH - TitanicA - Ma

2021-01-19 20:55:09 294 1

原创 Day 1

测试地址:https://vjudge.net/contest/418207#overview目录A - Specialized Four-Digit NumbersD - Factorial! You Must be Kidding!!!E - Function Run FunG - A Contesting DecisionA - Specialized Four-Digit NumbersSample InputThere is no input for t

2021-01-18 17:51:08 131

原创 ALGO — 2 最大最小公倍数

问题描述已知一个正整数N,问从1~N中任选出三个数,他们的最小公倍数最大可以为多少。输入格式输入一个正整数N。输出格式输出一个整数,表示你找到的最小公倍数。样例输入9样例输出504数据规模与约定1 <= N <= 10^6。分析:这是一道数学问题数学知识:如果三个数互为质数,那么这三个数的乘积便为它们的最小公倍数。因为本题...

2020-02-24 23:52:38 140

原创 ALGO — 1 区间k大数查询

问题描述给定一个序列,每次询问序列中第 l 个数到第 r 个数中第 K 大的数是哪个。输入格式第一行包含一个数n,表示序列长度。第二行包含n个正整数,表示给定的序列。第三个包含一个正整数m,表示询问个数。接下来m行,每行三个数l,r,K,表示询问序列从左往右第l个数到第r个数中,从大往小第K大的数是哪个。序列元素从1开始标号。输出格式总共输出m行,每行一个数,表示询...

2020-02-24 20:09:37 83

原创 1013  Battle Over Cities (25分)

Battle Over CitiesIt is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know i...

2020-02-03 16:40:25 232

原创 1009  Product of Polynomials (25分)

Product of PolynomialsThis time, you are supposed to findA×BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each l...

2020-02-02 00:21:06 247

原创 1012  The Best Rank (25分)

The Best RankTo evaluate the performance of our first year CS majored students, we consider their grades of three courses only:C- C Programming Language,M- Mathematics (Calculus or Linear Algrbr...

2020-02-01 23:58:53 188

原创 1007  Maximum Subsequence Sum (25分)

Maximum Subsequence SumGiven a sequence ofKintegers {N​1​​,N​2​​, ...,N​K​​}. A continuous subsequence is defined to be {N​i​​,N​i+1​​, ...,N​j​​} where1≤i≤j≤K. The Maximum Subsequence is...

2020-01-31 11:30:40 402

原创 1006  Sign In and Sign Out (25分)

Sign In and Sign OutAt the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signi...

2020-01-31 10:21:55 222

原创 1004  Counting Leaves (30分)

Counting LeavesA family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one test case....

2020-01-30 23:14:54 353

原创 1002  A+B for Polynomials (25分)

A+B for PolynomialsThis time, you are supposed to findA+BwhereAandBare two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line...

2020-01-20 19:05:18 536

原创 1092  To Buy or Not to Buy (20分)

To Buy or Not to BuyEva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of beads. However the owner of t...

2020-01-09 09:13:12 68

原创 蓝桥杯 —— 基础练习 矩阵乘法

【问题描述】  给定一个N阶矩阵A,输出A的M次幂(M是非负整数)  例如:  A =  1 2  3 4  A的2次幂  7 10  15 22【输入格式】  第一行是一个正整数N、M(1<=N<=30, 0<=M<=5),表示矩阵A的阶数和要求的幂数  接下来N行,每行N个绝对值不超过10的非负整数,描述矩阵A的值【输出格式】  输出...

2020-01-04 23:50:48 79

原创 1069  The Black Hole of Numbers (20分)

The Black Hole of NumbersFor any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new num...

2020-01-04 18:52:57 101

原创 1035  Password (20分)

PasswordTo prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish1(one) ...

2020-01-04 17:15:40 123

原创 1065  A+B and C (64bit) (20分)

A+B and C (64bit)Given three integersA,BandCin [−2​63​​,2​63​​], you are supposed to tell whetherA+B>C.Input Specification:The first line of the input gives the positive number of test...

2020-01-04 16:59:27 122

原创 1061  Dating (20分)

DatingSherlock Holmes received a note with some strange strings:Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm. It took him only a minute to figure out that those strange...

2020-01-04 16:19:59 100

原创 1058  A+B in Hogwarts (20分)

A+B in HogwartsIf you are a fan of Harry Potter, you would know the world of magic has its own currency system -- as Hagrid explained it to Harry, "Seventeen silver Sickles to a Galleon and twenty-n...

2020-01-04 14:55:35 76

原创 1054  The Dominant Color (20分)

The Dominant ColorBehind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color with the largest proportional...

2020-01-04 14:33:54 63

原创 1050  String Subtraction (20分)

String SubtractionGiven two stringsS​1​​andS​2​​,S=S​1​​−S​2​​is defined to be the remaining string after taking all the characters inS​2​​fromS​1​​. Your task is simply to calculateS​1​​−S​...

2020-01-04 13:58:46 75

原创 1046  Shortest Distance (20分)

Shortest DistanceThe task is really simple: givenNexits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits.Input Specification:Ea...

2020-01-04 13:48:52 112

原创 1041  Be Unique (20分)

Be UniqueBeing unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a number chosen from [1,10​4​​]. The first on...

2020-01-04 08:43:20 101

原创 1031  Hello World for U (20分)

Hello World for UGiven any string ofN(≥5) characters, you are asked to form the characters into the shape ofU. For example,helloworldcan be printed as:h de ll rlowoThat is, the cha...

2020-01-03 14:51:32 315

原创 1027  Colors in Mars (20分)

Colors in MarsPeople in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are forRed,...

2020-01-03 14:14:15 86

原创 1023  Have Fun with Numbers (20分)

Have Fun with NumbersNotice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be ano...

2020-01-03 13:07:04 208

原创 1019  General Palindromic Number (20分)

General Palindromic NumberA number that will be the same when it is written forwards or backwards is known as aPalindromic Number. For example, 1234321 is a palindromic number. All single digit num...

2020-01-03 08:54:40 65

原创 1015  Reversible Primes (20分)

Reversible PrimesAreversible primein any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal system 73 is a reversible prime because its rev...

2020-01-02 22:53:53 352

原创 1011  World Cup Betting (20分)

World Cup BettingWith the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy ...

2020-01-02 20:02:16 205

原创 1008  Elevator (20分)

ElevatorThe highest building in our city has only one elevator. A request list is made up withNpositive numbers. The numbers denote at which floors the elevator will stop, in specified order. It c...

2020-01-02 19:30:47 490

原创 1005  Spell It Right (20分)

Spell It RightGiven a non-negative integerN, your task is to compute the sum of all the digits ofN, and output every digit of the sum in English.Input Specification:Each input file contains on...

2020-01-02 19:11:40 301

原创 1001 A+B Format (20分)

A+B FormatCalculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Specification:...

2020-01-02 15:24:09 65

原创 蓝桥杯 —— 基础练习 Sine之舞

【问题描述】  最近FJ为他的奶牛们开设了数学分析课,FJ知道若要学好这门课,必须有一个好的三角函数基本功。所以他准备和奶牛们做一个“Sine之舞”的游戏,寓教于乐,提高奶牛们的计算能力。  不妨设  An=sin(1–sin(2+sin(3–sin(4+...sin(n))...)  Sn=(...(A1+n)A2+n-1)A3+...+2)An+1  FJ想让奶牛们计算Sn的值,请...

2019-12-23 17:55:04 207

原创 蓝桥杯 —— 基础练习 FJ的字符串

【问题描述】  FJ在沙盘上写了这样一些字符串:  A1 = “A”  A2 = “ABA”  A3 = “ABACABA”  A4 = “ABACABADABACABA”  … …  你能找出其中的规律并写所有的数列AN吗?【输入格式】  仅有一个数:N ≤ 26。【输出格式】  请输出相应的字符串AN,以一个换行符结束。输出中不得含有多余的空格或换行、回车符。...

2019-12-23 17:46:29 74

原创 蓝桥杯 —— 基础练习 芯片测试

【问题描述】  有n(2≤n≤20)块芯片,有好有坏,已知好芯片比坏芯片多。  每个芯片都能用来测试其他芯片。用好芯片测试其他芯片时,能正确给出被测试芯片是好还是坏。而用坏芯片测试其他芯片时,会随机给出好或是坏的测试结果(即此结果与被测试芯片实际的好坏无关)。  给出所有芯片的测试结果,问哪些芯片是好芯片。【输入格式】  输入数据第一行为一个整数n,表示芯片个数。  第二行到第n...

2019-12-23 17:45:58 133

原创 蓝桥杯 —— 基础练习 龟兔赛跑预测

【问题描述】  话说这个世界上有各种各样的兔子和乌龟,但是研究发现,所有的兔子和乌龟都有一个共同的特点——喜欢赛跑。于是世界上各个角落都不断在发生着乌龟和兔子的比赛,小华对此很感兴趣,于是决定研究不同兔子和乌龟的赛跑。他发现,兔子虽然跑比乌龟快,但它们有众所周知的毛病——骄傲且懒惰,于是在与乌龟的比赛中,一旦任一秒结束后兔子发现自己领先t米或以上,它们就会停下来休息s秒。对于不同的兔子,t,s...

2019-12-23 17:45:23 135

原创 蓝桥杯 —— 基础练习 回形取数

【问题描述】  回形取数就是沿矩阵的边取数,若当前方向上无数可取或已经取过,则左转90度。一开始位于矩阵左上角,方向向下。【输入格式】  输入第一行是两个不超过200的正整数m, n,表示矩阵的行和列。接下来m行每行n个整数,表示这个矩阵。【输出格式】  输出只有一行,共mn个数,为输入矩阵回形取数得到的结果。数之间用一个空格分隔,行末不要有多余的空格。【样例输入】3 ...

2019-12-23 17:44:55 176

蓝桥杯 —— 基础练习 Fibnoacci 数列测试数据.zip

蓝桥杯 —— 基础练习 Fibnoacci 数列测试数据 蓝桥杯 —— 基础练习 Fibnoacci 数列测试数据

2019-12-16

空空如也

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

TA关注的人

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