自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Hnny的博客

2018.12.6

  • 博客(30)
  • 资源 (1)
  • 收藏
  • 关注

原创 window下运行一个Flask的程序

安装Flask打开文件目录(例子里是Enterprise文件夹)下的cmd输入py -3 -m venv venv,新建一个虚拟环境cd 进 venv/Scripts 下输入activate,运行使用cd 命令退回到文件夹Enterprise输入pip install Flask安装Flask安装所需要的包FLASK_APP = 你的入口python文件FLASK_EN...

2020-05-07 17:11:04 1079

原创 mysql的卸载与安装

卸载旧的mysql1.Win+R键,输入services.msc找到mysql并停止服务在我的电脑中搜索mysql,找到mysql5的文件夹并删除(我的是mysql8)安装新的mysqlhttps://dev.mysql.com/downloads/mysql/打开网站在你想要存放mysql的位置,解压刚刚下载好的安装包打开刚刚解压出的文件夹,新建文本文档,重命名...

2020-05-01 20:45:23 257 2

原创 汉诺塔V(大数计算)

汉诺塔VTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7496 Accepted Submission(s): 4644Problem Description用1,2,…,n表示n个盘子,称为1号盘,2号盘,…。号数大盘子就...

2019-02-03 20:49:41 485

原创 A. Double Cola

A. Double ColaSheldon, Leonard, Penny, Rajesh and Howard are in the queue for a “Double Cola” drink vending machine; there are no other people in the queue. The first one in the queue (Sheldon) buys ...

2019-02-03 19:32:55 325

原创 迷宫问题

迷宫问题定义一个二维数组:int maze[5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1, 0,0, 0, 0, 1, 0,};它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线。Input一个5 × 5的二维数组,...

2019-01-21 22:40:10 249

原创 Rightmost Digit

Rightmost DigitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 73217 Accepted Submission(s): 26975Problem DescriptionGiven a positive int...

2019-01-21 22:28:02 115

原创 A. Beautiful Year

A. Beautiful Yeartime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt seems like the year of 2013 came only yesterday. Do you know a curious fa...

2019-01-21 22:17:00 288

原创 A. Translation

A. Translationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe translation from the Berland language into the Birland language is not an e...

2019-01-21 22:11:57 375

原创 A. Vasya and Socks

A. Vasya and Sockstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has n pairs of socks. In the morning of each day Vasya has to put on a...

2019-01-21 22:05:12 171

原创 A. Expression

A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths. His class has been studying arithm...

2019-01-21 21:57:26 368

原创 A. Presents

A. Presentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya very much likes gifts. Recently he has received a new laptop as a New...

2019-01-21 21:52:45 231

原创 The Suspects

The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 52909 Accepted: 25191DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was re...

2019-01-21 21:44:22 187

原创 A. New Year Candles

A. New Year Candlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasily the Programmer loves romance, so this year he decided to illuminate ...

2019-01-21 21:37:28 183

原创 Queue at the School

Queue at the School== time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output==During the break the schoolchildren, boys and girls, formed a queue o...

2019-01-21 21:27:17 193

原创 Oil Deposits

Oil DepositsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 46075 Accepted Submission(s): 26550Problem DescriptionThe GeoSurvComp geologi...

2018-12-18 00:23:02 108

原创 空心三角形

空心三角形Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 60580 Accepted Submission(s): 16067Problem Description把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为...

2018-12-14 11:31:27 2054 2

原创 赛题分析

赛题分析Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others)Total Submission(s): 1186 Accepted Submission(s): 575Problem Description著名出题人小Q每次比赛后都会写一份《赛题分析》,包含比赛概况、每...

2018-12-11 17:35:26 457

原创 第几天?

第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 207852 Accepted Submission(s): 72633Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入...

2018-12-09 22:28:06 78

原创 A. Drazil and Date

A. Drazil and Datetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomeday, Drazil wanted to go on date with Varda. Drazil and Varda live on Ca...

2018-12-09 22:16:15 105

原创 三角形

三角形Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 124636 Accepted Submission(s): 40054Problem Description给定三条边,请你判断一下能不能组成一个三角形。Input输...

2018-12-09 22:01:38 85

原创 A. Watermelon

A. Watermelontime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputOne hot summer day Pete and his friend Billy decided to buy a watermelon. They cho...

2018-12-09 21:56:17 1161

原创 A + B Problem Too

A + B Problem TooTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 21245 Accepted Submission(s): 15557Problem DescriptionThis problem is al...

2018-12-07 22:29:19 163

原创 计算球体积

计算球体积Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 221529 Accepted Submission(s): 86459Problem Description根据输入的半径值,计算球的体积。Input输入数据有多...

2018-12-07 22:26:39 201

原创 ASCII码排序

ASCII码排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 237263 Accepted Submission(s): 93391Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序...

2018-12-07 22:23:32 158

原创 排序

排序Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 76744 Accepted Submission(s): 23387Problem Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一...

2018-12-07 22:19:11 79

原创 A + B Problem

A + B ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 833595 Accepted Submission(s): 252183Problem DescriptionCalculate A + B.Inp...

2018-12-07 22:06:31 51

原创 A. Stones on the Table

A. Stones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n stones on the table in a row, each of them can be red, gree...

2018-12-07 22:03:09 206

原创 A. George and Accommodation

A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the BSUCP (Berland State University for...

2018-12-07 21:54:28 127

原创 A. String Task

A. String Tasktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputtime limit per test2 secondsmemory limit per test256 megabytesinputstandard i...

2018-12-07 21:45:16 114

原创 2018.12.06

@2018.12.062018.12.06第一题:第一题这题主要是:1.找出非元音字母 2.大写换成小写但是我这里的方法有点费时费力,打的时候要数ASCII码,超级慢 #include "stdafx.h" #include<iostream> using namespace std; int main() {...

2018-12-07 00:36:06 116

mysql8 安装教程.docx

这份文件是比较详细的mysql安装与卸载流程,写的有点粗糙,全文一共60个步骤,并尽量配有图片,适合小白使用。希望可以帮到我和大家

2020-05-01

空空如也

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

TA关注的人

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