- 博客(12)
- 收藏
- 关注
原创 Cisco Packet Tracer 8.0 下载与汉化
从官网下载Cisco Packet Tracer软件,需要登录下载后安装到计算机上并记住安装路径汉化:从官网上的资源库下载简体中文包官方说明书
2021-05-17 17:53:22 34350 16
原创 POJ-2184
题目Description“Fat and docile, big and dumb, they look so stupid, they aren’t muchfun…”Cows with Guns by Dana LyonsThe cows want to prove to the public that they are both smart and fun. In order to do this, Bessie has organized an exhibition that wil
2021-05-10 17:31:44 178
原创 IDEA创建Java Servlet项目
创建新建一个项目 文件 – 新建 – 项目 如图改 文件名、目录(有需要的话)没有输入的目录就new一个配一下== 右键 – 添加框架支持 – Web应用程序==在 项目文件 – web – WEB-INF 下创建目录 class总的文件放置文末有(仅供参考)下一步 文件 – 项目结构把模块里面的编译输出路径改到刚才创建的那个目录,看图改完顺便添加一下依赖注意 Tomcat目录 所在位置根据实际情况,电脑没有的话上官网下载一个。Tomcat目录下找到 lib
2021-04-09 00:33:20 337
原创 Codeforce #688 (Div. 2) A. Cancel the Trains
题目Gildong’s town has a train system that has 100 trains that travel from the bottom end to the top end and 100 trains that travel from the left end to the right end. The trains starting from each side are numbered from 1 to 100, respectively, and all trai
2021-03-15 22:58:16 139
原创 UVA-10382
题目n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkler is installed at the horizontal center line of the strip. For each sprinkler we are given its position as the distance from the left end of the cent
2021-02-01 16:07:36 159
原创 Codeforces- 459B Pashmak and Flowers
题目Pashmak decided to give Parmida a pair of flowers from the garden. There are n flowers in the garden and the i-th of them has a beauty number bi. Parmida is a very strange girl so she doesn’t want to have the two most beautiful flowers necessarily. She
2021-01-25 22:50:09 197
原创 练习赛19-H (HDU-2612)
HDU-2612题目最近在家上网课的zst由于把switch放在了寝室所以实在无聊透顶,便拉着str一起玩一款名叫《风来的西林》的游 戏,在某次刷图的过程中,由于zst炸裂的欧气,一张地图中同时出现了数把螺旋风魔剑,但此剑需要zst和str两人合力才可取得由于这款游戏是按时间付费的,所以两人需要尽快取得此剑(即为二人到达剑所在位置的时间之和最少),因此他们找到了机智的你来帮忙解决问题。Input多组数据读入到文件结束每组数据的第一行输入两个整数n, m(2 <= n, m <= 20
2021-01-20 16:20:58 104 1
原创 JetBrainsRider 导入dll文件
切换到 Solution右键单击 Dependencied 并选中 Add Reference直接在搜索框搜索或选择 Add From 指定目标文件,选择好后单击 Add 即可
2021-01-18 19:18:56 4204
原创 练习赛13 B - Phone List
题目描述Given a list of phone numbers, determine if it is consistent in the sense thatno number is the prefix of another. Let’s say the phone catalogue listed thesenumbers:• Emergency 911• Alice 97 625 999• Bob 91 12 54 26In this case, it’s not possibl
2020-11-11 17:46:34 179
原创 7-17 哈夫曼编码 (30分)
给定一段文字,如果我们统计出字母出现的频率,是可以根据哈夫曼算法给出一套编码,使得用此编码压缩原文可以得到最短的编码总长。然而哈夫曼编码并不是唯一的。例如对字符串"aaaxuaxz",容易得到字母 ‘a’、‘x’、‘u’、‘z’ 的出现频率对应为 4、2、1、1。我们可以设计编码 {‘a’=0, ‘x’=10, ‘u’=110, ‘z’=111},也可以用另一套 {‘a’=1, ‘x’=01, ‘u’=001, ‘z’=000},还可以用 {‘a’=0, ‘x’=11, ‘u’=100, ‘z’=101}.
2020-11-11 17:28:50 1275
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人