自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(34)
  • 收藏
  • 关注

原创 Mysql学习第二天-函数

函数:是指一段可以直接被另一段程序调用的程序或代码。

2023-03-20 13:20:55 160

原创 Mysql学习第二天-DCL

【代码】Mysql学习第二天-DCL。

2023-03-19 20:25:41 132

原创 Mysql学习第一天-DQL

【代码】Mysql学习第一天-DQL。

2023-03-19 19:02:50 161

原创 Unity基本概念与脚本编程

2:通过标签进行查找GameObject.FindGameObject该方法比较常用但是有两个弊端。第一:无法找到未激活的物体。第二:需要遍历场景中所有的物体(如果有多个重名的物体,返回第一个返回的物体),在性能上看比较的低效。WithTag(“标签名字”);1:GameObject.Find("物体名称");3:通过”父子关系“获取物体。

2023-03-16 22:39:00 191

原创 unity网络游戏开端-echo

首先如图所示:创建两个按钮“ConnButton”,"sendButton"以及一个输入文本框,一个文本,前面一个用来与服务端建立连接,后面一个用来给服务端发送信息。scoket包含了网络通信必须的五种信息。网络连接使用的协议,本地的IP地址,本地的协议端口,远程主机的IP地址,远程协议的端口。Scoket通信分为连接方,与监听方。连接方可以通过不同的端口连接,监听方只使用一个端口监听。当做完以上步骤时,点击按钮,发现报错,这是因为还没有建立服务端。Scoket:网络双向通信的一端。

2023-03-10 17:39:29 122

原创 unity使用Json进行数据的序列化以及反序列化

json:JSON是一种通用的数据格式。Json的数据类型:JSON的内容是用文本表示的,便于直接阅读。Json可以方便的表示以下数据类型:1:数字。2:字符串。3:bool值。4:null。5:数组。6:对象(每组数据是键值队的形式,要求键要为字符串,不能是数字)。

2023-03-07 15:38:07 1066

原创 动态规划之数字三角形模型

目录数字三角形摘花生 最低通行费方格取数 传纸条来源:898. 数字三角形 - AcWing题库给定一个如下图所示的数字三角形,从顶部出发,在每一结点可以选择移动至其左下方的结点或移动至其右下方的结点,一直走到底层,要求找出一条路径,使路径上的数字的和最大。输入格式第一行包含整数 nn,表示数字三角形的层数。接下来 nn 行,每行包含若干整数,其中第 ii 行表示数字三角形第 ii 层包含的整数。输出格式输出一个整数,表示最大的路径数字和。数据范围1≤n≤5001≤n≤500,−10000≤三角

2022-06-14 10:03:58 392

翻译 Sum(翻译)

来源:https://codeforces.com/contest/49/problem/BSumVasya studies positional numeral systems. Unfortunately, he often forgets to write the base of notation in which the expression is written. Once he saw a note in his notebook sayinga + b = ?, and that t.

2022-02-17 21:47:48 171

翻译 Ball Game(翻译)

来源:​​​​​​https://codeforces.com/contest/46/problem/ABall GameA kindergarten teacher Natalia Pavlovna has invented a new ball game. This game not only develops the children's physique, but also teaches them how to count.The game goes as follows. Kids.

2022-02-16 21:28:17 379

原创 10:大整数加法

来源:http://noi.openjudge.cn/ch0106/10/大整数加法总时间限制:1000ms内存限制:65536kB描述求两个不超过200位的非负整数的和。输入有两行,每行是一个不超过200位的非负整数,可能有多余的前导0。输出一行,即相加后的结果。结果里不能有多余的前导0,即如果结果是342,那么就不能输出为0342。样例输入2222222222222222222233333333333333333333样例输出5

2022-02-15 10:51:15 1153

翻译 Letter(翻译)

来源:https://codeforces.com/contest/43/problem/BLetterVasya decided to write an anonymous letter cutting the letters out of a newspaper heading. He knows headings1and texts2that he wants to send. Vasya can use every single heading letter no more ...

2022-02-15 09:14:47 319

翻译 20:Communication System(翻译)

来源:http://noi.openjudge.cn/ch0406/20/Communication SystemWe have received an order from Pizoor Communications Inc. for a special communication system. The system consists of several devices. For each device, we are free to choose from several manuf..

2022-02-13 22:39:13 224

翻译 Wonderful Randomized Sum(翻译)

来源:https://codeforces.com/contest/33/problem/CWonderful Randomized SumLearn, learn and learn again — Valera has to do this every day. He is studying at mathematical school, where math is the main discipline. The mathematics teacher loves her discipline

2022-02-12 21:45:03 97

翻译 TV Game(翻译)

来源:https://codeforces.com/contest/31/problem/ETV GameThere is a new TV game on BerTV. In this game two players get a numberAconsisting of2ndigits. Before each turn players determine who will make the next move. Each player should make exactlynmov...

2022-02-11 21:58:21 329

原创 6377:生日相同 2.0

来源:http://noi.openjudge.cn/ch0301/6377/生日相同总时间限制:1000ms内存限制:65536kB描述在一个有180人的大班级中,存在两个人生日相同的概率非常大,现给出每个学生的名字,出生月日。试找出所有生日相同的学生。输入第一行为整数n,表示有n个学生,n ≤ 180。此后每行包含一个字符串和两个整数,分别表示学生的名字(名字第一个字母大写,其余小写,不含空格,且长度小于20)和出生月(1 ≤ m ≤ 12)日(1 ≤ ...

2022-02-11 18:12:15 226

翻译 3-cycles(翻译)

来源:https://codeforces.com/contest/41/problem/E3-cyclesDuring a recent research Berland scientists found out that there werencities in Ancient Berland, joined by two-way paths. Any two cities are joined by no more than one path. No path joins a cit...

2022-02-10 20:49:14 155

翻译 Traffic Lights(翻译)

来源:https://codeforces.com/contest/29/problem/BTraffic LightsA car moves from point A to point B at speedvmeters per second. The action takes place on the X-axis. At the distancedmeters from A there are traffic lights. Starting from time 0, for the ...

2022-02-09 21:24:43 396

翻译 Bender Problem(翻译)

来源:https://codeforces.com/contest/28/problem/ABender ProblemRobot Bender decided to make Fray a birthday present. He drovennails and numbered them from1tonin some order. Bender decided to make a picture using metal rods. The picture is a closed p...

2022-02-08 20:15:05 144

翻译 Scheme(翻译)

来源:https://codeforces.com/contest/22/problem/ESchemeTo learn as soon as possible the latest news about their favourite fundamentally new operating system, BolgenOS community from Nizhni Tagil decided to develop a scheme. According to this scheme a comm

2022-02-07 21:54:09 206

翻译 169:The Buses(翻译)

来源:http://noi.openjudge.cn/ch0407/169/The Buses描述A man arrives at a bus stop at 12:00. He remains there during 12:00-12:59. The bus stop is used by a number of bus routes. The man notes the times of arriving buses. The times when buses arrive are giv

2022-02-06 22:27:38 333

翻译 413:Calling Extraterrestrial Intelligence Again(翻译 )

来源:http://noi.openjudge.cn/ch0207/413/Calling Extraterrestrial Intelligence Again总时间限制:1000ms内存限制:65536kB描述A message from humans to extraterrestrial intelligence was sent through the Arecibo radio telescope in Puerto Rico on the afternoon o..

2022-02-05 21:02:27 315

翻译 How many trees?(翻译)

来源 :https://codeforces.com/contest/9/problem/DHow many trees?In one very old text file there was written Great Wisdom. This Wisdom was so Great that nobody could decipher it, even Phong — the oldest among the inhabitants of Mainframe. But still he mana

2022-01-28 22:24:07 358

翻译 Scheme(翻译 )

来源:https://codeforces.com/contest/22/problem/ESchemeTo learn as soon as possible the latest news about their favourite fundamentally new operating system, BolgenOS community from Nizhni Tagil decided to develop a scheme. According to this scheme a comm

2022-01-27 22:09:27 283

翻译 System Administrator(翻译 day 8)

来源:https://codeforces.com/contest/22/problem/CSystem AdministratorBob got a job as a system administrator in X corporation. His first task was to connectnservers with the help ofmtwo-way direct connection so that it becomes possible to transmi...

2022-01-25 22:20:18 258

翻译 Triangle(翻译 day 7)

来源:https://codeforces.com/contest/6/problem/ATriangleJohnny has a younger sister Anne, who is very clever and smart. As she came home from the kindergarten, she told his brother about the task that her kindergartener asked her to solve. The task was.

2022-01-24 22:12:25 157

翻译 OpenJudge1661:Bomb Game(翻译 day 6)

来源:http://noi.openjudge.cn/ch0201/1661/Bomb Game总时间限制:1000ms内存限制:65536kB描述Bosko and Susko are playing an interesting game on a board made of rectangular fields arranged in A rows and B columns.When the game starts, Susko puts its virtual p..

2022-01-22 22:32:40 263

原创 OpenJudge:矩阵乘法(题解)

来源:http://noi.openjudge.cn/ch0108/09/09:矩阵乘法​​​​​​总时间限制:100ms内存限制:65536kB描述计算两个矩阵的乘法。n*m阶的矩阵A乘以m*k阶的矩阵B得到的矩阵C 是n*k阶的,且C[i][j] = A[i][0]*B[0][j] + A[i][1]*B[1][j] + …… +A[i][m-1]*B[m-1][j](C[i][j]表示C矩阵中第i行第j列元素)。输入第一行为n, m, k,表示A矩阵是n行m列,B矩

2022-01-22 14:35:43 547

翻译 Two Friends(翻译 day 5)

来源:codeforces:https://codeforces.com/contest/8/problem/DTwo FriendsTwo neighbours, Alan and Bob, live in the city, where there are three buildings only: a cinema, a shop and the house, where they live. The rest is a big asphalt square.Once they went

2022-01-21 11:24:51 192

翻译 Kalevitch and Chess(翻译 day 4)

来源:codeforces:https://codeforces.com/contest/7/problem/AKalevitch and ChessA famous Berland's painter Kalevitch likes to shock the public. One of his last obsessions is chess. For more than a thousand years people have been playing this old game on uni

2022-01-20 08:00:00 223

原创 OJ:校门外的树(题解)

来源:OpenJudge - 06:校门外的树总时间限制:1000ms内存限制:65536kB描述某校大门外长度为L的马路上有一排树,每两棵相邻的树之间的间隔都是1米。我们可以把马路看成一个数轴,马路的一端在数轴0的位置,另一端在L的位置;数轴上的每个整数点,即0,1,2,……,L,都种有一棵树。由于马路上有一些区域要用来建地铁。这些区域用它们在数轴上的起始点和终止点表示。已知任一区域的起始点和终止点的坐标都是整数,区域之间可能有重合的部分。现在要把这些区域中的树(包括区域端点.

2022-01-19 11:20:00 732 1

翻译 Registration system(翻译 day 3)

来源:codeforces:Problem - C - CodeforcesRegistration system(注册系统)A new e-mail service "Berlandesk" is going to be opened in Berland in the near future. The site administration wants to launch their project as soon as possible, that's why they ask you to

2022-01-19 10:34:00 351

翻译 Lorry翻译(day 2)

来源:codeforces。https://codeforces.com/contest/3/problem/BLorryA group of tourists is going to kayak and catamaran tour. A rented lorry has arrived to the boat depot to take kayaks and catamarans to the point of departure. It's known that all kayaks are

2022-01-18 14:00:00 122

原创 OJ:反向输出一个三位数(题解与拓展)

来源:openjudge:OpenJudge - 13:反向输出一个三位数主要是要录制这道题目的讲解视频,先来这练下手。嘿嘿~~~反向输出一个三位数​​​​​​总时间限制:1000ms内存限制:65536kB描述将一个三位数反向输出。输入一个三位数n。输出反向输出n。样例输入100样例输出001思路:该题目限定了三位数,所以可以将各位数,十位数以及百位数分离再反向输出。各位数:n%10;十位数:n/10%10;百位数

2022-01-18 11:03:00 1597

翻译 Theatre Square(翻译day 1)

Theatre Square(翻译day 1)

2022-01-17 08:00:00 317

空空如也

空空如也

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

TA关注的人

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