自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Shyazhut

---- 指向一句------->[ 写注释 ] 早睡早起身体好

  • 博客(445)
  • 收藏
  • 关注

原创 使用Python模仿操作系统管理文件夹

要求:指定文件夹的操作:删除,移动和备份参考代码:#!/usr/bin/python3# -*- coding: utf-8 -*-# @Time : 2019/06/14 02:25# @Author : Shyazhut# @File : 文件夹备份.py# @Project : QinGirl# @Description: :: 处理一些单反拍摄的照...

2019-06-28 15:47:17 663

原创 自己的论文写作过程和Word样式的使用方法

背景最近有很多小伙伴在准备毕业设计了,有的能鼓捣出一些奇葩问题。--你帮我看看这个地怎么没段落。--你这发的啥啊?我怎么没法下载。--WPS不可以的吗?那我怎么装office。--我这个一级标题咋跟上个一级标题怎么不一样。--为啥我打印出来的是这样??--我的目录怎么不对应啊,明明使用了(WPS)智能目录。略此种种,博主先简要介绍下自己平常是以怎么样的方式写论文,修...

2019-05-07 10:33:15 1026

原创 使用 Python 的 PIL库 实现对深度学习图片集的数据增强

背景:毕设设计相关,通过谷歌的tensorflow训练一个关于深度学习的图像识别,但是苦于原始数据集太过稀疏(就是很少),故通过数据增强的方法来对原始数据进行水平翻转等操作,这里谢谢学长为我们踩过的坑。也很欣慰昨天终于能跑出来一个模型了,这之前图的标记却已进行近一个月....要求:该代码的运行 root 变量指定的是文件夹,存储文件夹是 storage 来记录,同时有两个约数变量...

2019-04-14 14:01:22 1092

原创 基于 Python 的文本文件指定内容的修改

背景:不知不觉鼓捣单反已经近半年了,慢慢的更多的把 nef 文件的编辑侧重于 Adobe lightroom,前段时间在某个资源网站下载了一些预设文件,总以为通过Windows的批处理命令修改文件名就可以避免链接。但是导入 lightroom 之后发现还有一段链接,这谁顶得住昂,以文本的方式打开*.lrtemplate 文件,才发现lightroom获取的是文本内属性值,所以导入软件后还是有...

2019-04-14 13:46:10 8236

原创 Win10环境下的 tensorflow-gpu 环境的搭建过程

问题描述由于毕业设计的原因,需要安装GPU版本的tensorflow,再此之前与学长和童鞋一起走很多小弯路,本想着不安装anaconda就可以安装上,但是总是提示模块加载失败。经过一番鼓捣之后,最终安装成功。本次安装是基于CSDN的一篇教程文章和琢磨一点点完成,机器情况在下介绍。提示:建议通过百度网盘下载所有资料信息,本教程区别于之前教程的是提供了anaconda新建环境的压缩包t...

2019-03-30 23:32:25 1054

原创 简单记录我的第一个云服务器:华为云服务器

一直想买个服务器用来瞎鼓捣,或者说把之前的一些乱七八糟的小项目部署到服务器给自己的 object 看。但是我也很无奈昂,一个菜鸡!临近毕业了说来就来,于是就买了个华为云服务器,毕竟在某地培训很是无聊。服务器如下:因为用的是linux系统,需要两个小组件,一个是 putty.exe 一个是Xftp6_wm.exe百度网盘取一下:链接:提取码:b0ey 复制这段内容后打开百度网盘手机...

2019-03-02 10:18:16 3545 1

原创 使用 Python 简单获取电影天堂的电影数据 [第一个爬虫小测试]

一、要求得到电影天堂的最新下载页面下的相关数据 点击打开 ;存储为 csv 格式的表格文件二、可能遇到的bug和解决使用正则表达式匹配到没有"《》"的情况请求链接返回页面有误部分电影详情页面没有评分导致返回错误三种小错误都是通过条件判断解决三、参考代码import requestsfrom lxml import etreeimport refrom d...

2019-01-10 17:02:40 11420 1

原创 时隔两载,离开ACM,送走研究生考试,离开的你,终让我与代码为伴

占个楼,博主又回来啦。HHH

2019-01-08 16:54:08 234 1

原创 简单计算体侧成绩的小代码

背景:数据库实验课,做完任务后没事情可做,看了自己的体测成绩,就想着敲一个小代码,太菜了,在机房没完成。今天算是完成了。这里参考的是 《国家学生体质健康标准(2014年修订)》测试项目与权重表(点击打开链接)。一些小技巧:把网页数据导入 Excel ,提取列之后利用 word 处理为数据格式......Bata:1.0 2017年5月23日21:27:41 有 bug 敬请

2017-05-23 21:28:24 3397 1

原创 省赛的总结

。。。。为什么百度键入我的昵称时,卡为 http://www.voidcn.com/blog/shyazhut/

2017-05-09 17:42:44 375

原创 POJ 2082 Terrible Sets(可怕的矩形)

。。一个好题。。Terrible SetsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 4812 Accepted: 2465DescriptionLet N be the set of all natural numbers {0 ,

2017-04-14 17:55:37 863

原创 light oj 1109 - False Ordering

开刷水题1107 - How Cow   PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBMr Kopa Samsu is a farmer. He has a land of rectangular

2017-04-07 20:02:00 346

原创 来自 xxx 的最短路

dakaiPAT最短路作为一个城市的应急救援队伍的负责人,你有一张特殊的全国地图。在地图上显示有多个分散的城市和一些连接城市的快速道路。每个城市的救援队数量和每一条连接两个城市的快速道路长度都标在地图上。当其他城市有紧急求助电话给你的时候,你的任务是带领你的救援队尽快赶往事发地,同时,一路上召集尽可能多的救援队。输入格式:输入第一行给出4个正整数N、M、S、D,

2017-03-22 21:05:56 359

原创 Codeforces 140A New Year Table(大圆带小圆)

如果你还在这里....A. New Year Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald is setting the New

2017-03-15 21:25:18 648

原创 POJ 2533 Longest Ordered Subsequence(最长非递减子序列,LIS)

点击前来水一下Longest Ordered SubsequenceTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 50206 Accepted: 22293DescriptionA numeric sequence of ai is or

2017-03-14 21:09:54 353

原创 764B未解决

感觉思路不错,#include#include#include#include#define BadBoy main()#define ForMyLove return 0;using namespace std;const int MYDD = 1103 + 2*1e5;int a[MYDD];int BadBoy { int n; scanf("%d", &n);

2017-02-09 21:22:05 267

原创 Codeforces 764A Taymyr is calling you(水题翻译)

http://codeforces.com/contest/764/problem/AA. Taymyr is calling youtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard ou

2017-02-09 20:51:22 699

原创 764A

艺术家的骨骼问题

2017-02-09 20:32:46 274

原创 Codeforces 762A k-th divisor

http://codeforces.com/contest/762/problem/AA. k-th divisortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

2017-01-31 20:56:21 457

原创 CFCFCFCF

SJ

2017-01-31 20:43:32 231

原创 Codeforces 652B z-sort(水题)

http://codeforces.com/contest/652/problem/BB. z-sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA s

2016-12-24 11:54:52 413

原创 Codeforces 652A Gabriel and Caterpillar(毛毛虫摘苹果)

http://codeforces.com/problemset/problem/652/AA. Gabriel and Caterpillartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstanda

2016-12-24 11:48:06 416

原创 Codeforces 629B Far Relative’s Problem(友谊的问题)

http://codeforces.com/contest/629/problem/BB. Far Relative’s Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard

2016-12-24 11:42:35 331

原创 Codeforces 743C Vladik and fractions(数学)

http://codeforces.com/contest/743/problem/CC. Vladik and fractionstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard out

2016-12-20 10:41:59 520

原创 Codeforces 747B Mammoth's Genome Decoding(碱基对)

http://codeforces.com/contest/747/problem/BB. Mammoth's Genome Decodingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandar

2016-12-19 21:26:15 613

原创 Codeforces 743B Chloe and the sequence

http://codeforces.com/problemset/problem/743/BB. Chloe and the sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandar

2016-12-15 08:07:54 963

原创 Codeforces 743A Vladik and flights(坐飞机)

http://codeforces.com/problemset/problem/743/AA. Vladik and flightstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard o

2016-12-15 08:04:36 557

原创 Codeforces 264A Buggy Sorting(童年排序)

http://codeforces.com/problemset/problem/246/AA. Buggy Sortingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

2016-12-13 10:31:31 439

原创 Codeforces 246C Beauty Pageant(选美大赛)

http://codeforces.com/problemset/problem/246/CC. Beauty Pageanttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

2016-12-13 08:48:18 408

原创 Codeforces 237A Free Cash(水题吧)

http://codeforces.com/contest/237/problem/AA. Free Cashtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output

2016-12-13 07:45:23 404

原创 Codeforces 237C Primes on Interval(素数统计)

http://codeforces.com/problemset/problem/237/CC. Primes on Intervaltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard ou

2016-12-13 07:35:09 324

原创 Codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution

http://codeforces.com/contest/742/problem/BB. Arpa’s obvious problem and Mehrdad’s terrible solutiontime limit per test1 secondmemory limit per test256 megabytesinputstanda

2016-12-07 10:42:40 630

原创 Codeforces 742A Arpa’s hard exam and Mehrdad’s naive cheat

http://codeforces.com/contest/742/problem/AA. Arpa’s hard exam and Mehrdad’s naive cheattime limit per test1 secondmemory limit per test256 megabytesinputstandard input

2016-12-07 10:16:21 600

原创 UVA725 - Division

5

2016-12-05 21:48:24 303

原创 UVA

4

2016-12-05 21:48:14 176

原创 UVA

2

2016-12-05 21:48:04 190

原创 UVA

1

2016-12-05 21:47:50 181

原创 Codeforces 740B Alyona and flowers

http://codeforces.com/contest/740/problem/BB. Alyona and flowerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outp

2016-11-24 09:22:13 562

原创 Codeforces 740A Alyona and copybooks

http://codeforces.com/contest/740/problem/AA. Alyona and copybookstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard out

2016-11-24 09:19:04 523

原创 UVA 1586 Molar mass(蛋白质的相对分子质量)

UVA 1586 Molar massAn organic compound is any member of a large class of chem- ical compoundswhose molecules contain carbon. Themolar mass of an organic compound is the mass of one mole of the org

2016-11-23 21:41:00 451

空空如也

空空如也

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

TA关注的人

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