*博客头图：

RGB颜色，例如：#AFAFAF

Hover：

RGB颜色，例如：#AFAFAF

RGB颜色，例如：#AFAFAF

# gwj1139177410的博客

• 博客(29)
• 资源 (21)
• 论坛 (5)
• 收藏
• 关注

#### 原创 【Codeforces 1426 D】Non-zero Segments，贪心，前缀和，数组子段统计

problemD. Non-zero Segmentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKolya got an integer array a1,a2,…,an. The array can contain both positive and negative integers, but Kolya doesn’t like

2021-01-31 21:59:09 45

#### 原创 【Codeforces 1419 C】Killjoy，构造方案，结论题，贪心

problemC. Killjoytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA new agent called Killjoy invented a virus COVID-2069 that infects accounts on Codeforces. Each account has a rating, described by

2021-01-31 21:17:53 56

#### 原创 【Codeforces 1419 D2】Sage‘s Birthday (hard version)，二分答案

problemD2. Sage’s Birthday (hard version)time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is the hard version of the problem. The difference between the versions is that in the easy version all

2021-01-31 20:54:44 66

#### 原创 【Codeforces 1462 D】Add to Neighbour and Remove，n方枚举，贪心检查

problemD. Add to Neighbour and Removetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp was given an array of a[1…n] of n integers. He can perform the following operation with the array a no

2021-01-31 18:06:40 85

#### 原创 【Codeforces 1461 B】Find the Spruce，矩阵图形统计，枚举，行前缀和

problemB. Find the Sprucetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputHolidays are coming up really soon. Rick realized that it’s time to think about buying a traditional spruce tree. But Rick d

2021-01-31 17:46:36 45

#### 原创 【Codeforces 1451 C】String Equality，贪心，判断能否构造成字符串

problemC. String Equalitytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAshish has two strings a and b, each of length n, and an integer k. The strings only contain lowercase English letters.He

2021-01-31 16:36:05 43

#### 原创 【Codeforces 1443 C】The Delivery Dilemma，贪心，排序

problemC. The Delivery Dilemmatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya is preparing for his birthday. He decided that there would be n different dishes on the dinner table, numbered f

2021-01-31 16:00:58 58

#### 原创 【Codeforces 1421 C】Palindromifier，构造方案，构造回文串

problemC. Palindromifiertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRingo found a string s of length n in his yellow submarine. The string contains only lowercase letters from the English alpha

2021-01-31 14:36:57 70

#### 原创 【Codeforces 1459 B】Move and Turn，奇偶性分类，公式推导

problemB. Move and Turntime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputA robot is standing at the origin of the infinite two-dimensional plane. Each second the robot moves exactly 1 meter in one o

2021-01-31 14:12:29 60

#### 原创 【Codeforces 1454 D】Number into Sequence，构造序列，素因数分解

problemD. Number into Sequencetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer n (n>1).Your task is to find a sequence of integers a1,a2,…,ak such that:each ai is stri

2021-01-31 13:52:50 111

#### 原创 第八届“图灵杯”NEUQ-ACM程序设计竞赛个人赛（同步赛）BIJ，签到抽奖

2021-01-30 20:44:58 74

#### 原创 【Codeforces 1443 B】Saving the City，贪心，分类讨论

problemB. Saving the Citytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBertown is a city with n buildings in a straight line.The city’s security service discovered that some buildings were mine

2021-01-28 21:58:07 51

#### 原创 【Codeforces 1433 E】Two Round Dances，排列组合，公式

problemE. Two Round Dancestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day, n people (n is an even number) met on a plaza and made two round dances, each round dance consists of exactly n2 p

2021-01-28 21:22:49 74

#### 原创 【Codeforces 1422 B】Nice Matrix，贪心，回文矩阵

problemB. Nice Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA matrix of size n×m is called nice, if all rows and columns of the matrix are palindromes. A sequence of integers (a1,a2,…,ak)

2021-01-28 19:45:51 35

#### 原创 【Codeforces 1420 C1】Pokémon Army (easy version)，dp，奇偶性分类讨论

problemC1. Pokémon Army (easy version)time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is the easy version of the problem. The difference between the versions is that the easy version has no s

2021-01-28 19:04:49 47 1

#### 原创 【Codeforces 1472 D】Even-Odd Game，贪心选择，排序

problemD. Even-Odd Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring their New Year holidays, Alice and Bob play the following game using an array a of n integers:Players take turns, Ali

2021-01-28 18:31:59 61

#### 原创 【Codeforces 1454 C】Sequence Transformation，贪心，统计,map排序或桶排

problemC. Sequence Transformationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence a, initially consisting of n integers.You want to transform this sequence so that all elem

2021-01-28 15:31:11 112

#### 原创 【Codeforces 1433 D】Districts Connection，构造树，脑筋急转弯

problemD. Districts Connectiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n districts in the town, the i-th district belongs to the ai-th bandit gang. Initially, no districts are conn

2021-01-27 21:56:05 78

#### 原创 【Codeforces 1420 B】Rock and Lever，位运算，找规律

problemB. Rock and Levertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output“You must lift the dam. With a lever. I will give it to you.You must block the canal. With a rock. I will not give the rock

2021-01-27 21:26:11 57

#### 原创 【Codeforces 1419 B】Stairs，暴力，贪心，找规律

problemB. Stairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJett is tired after destroying the town and she wants to have a rest. She likes high places, that’s why for having a rest she wants to

2021-01-27 20:48:57 60

#### 原创 Codeforces上通过数超过5W人的题

Codeforces上通过数超过5W人的题共32题：1000分4题，800分28题。编号题号题名分数通过数14AWatermelon800x193501271AWay Too Long Words800x13987531ATheatre Square1000x1298404231ATeam800x1103495158ANext Round800x100668650ADomino piling800

2021-01-26 14:27:32 154

#### 原创 用OBS推流直播，设置与调教入坑

1、直播画面设置： 场景界面&来源界面2、窗口捕获：必须先进行显示器捕获如果失败则修改windows的软件权限（以下三个地方）3、网站推流4、虚拟摄像头网上搜索并安装虚拟摄像头插件（OBS-Virtual-Cam）插件重启OBS后再工具里面打开5、回音调试设置里面所有设备都打开，然后关掉声音只留一个接着在obs和windows中关掉所有的侦听附钉钉使用虚拟摄像头可以用来给钉钉的视频会议增添乐趣钉钉的直播可以分享屏幕一起看电影，还不会被查封。...

2021-01-24 14:03:56 395

#### 原创 常见网盘和云存储测评和使用方式

1、网盘容量大，数据不安全的可以当资源共享盘。数据丢了可以重新找（百度云，onedrive）对于重要数据备份，首先是数据安全，然后有些需要API支持，比如notability的webdav，onedrive限定，最后还需要考虑网路访问的因素。2、OSSECS大概80/年，40G，，，OSS可以10块/年，40G。上传流量不计费，下载计费。3、NAS买不起（）...

2021-01-24 13:35:35 85

#### 原创 阿里云OSS创建Access，并连接到cloudreve

1、创建Access首先进入对象存储，创建Bucket（一块空间） 然后配置空间的权限：记下访问域名，设置读写权限为私有，添加跨越规则，最后到RAM访问控制台中创建用户并添加Access Key（名称随便填，权限赋予aliyunossfull，创建完后去用户里面创建Access Key）2、链接cloudreve上传策略随便写Access Key ID和secret填刚才的Bucket填刚才的空间域名和上传域名填一样的（刚才的，，注意是外网）...

2021-01-24 11:11:14 106

#### 原创 【宝塔】【cloudreve】挂载阿里云OSS到ECS服务器内网上

2021-01-24 11:04:23 165

#### 原创 一些HDOJ上水题的代码（无题目索引：Practice9,10，拓展1，2）

Practice91001#include<bits/stdc++.h>using namespace std;typedef long long LL;int main(){ LL n; while(cin>>n){ LL sum = 0; for(int i = 1; i <= n; i++){ sum += i; } cout<<sum<<"\n\n"; } return 0;}1002#inc

2021-01-12 16:52:23 51

#### 原创 Chrome您的连接不是私密连接，解决办法

2021-01-06 23:37:45 403

#### 原创 第 45 届国际大学生程序设计竞赛（ICPC）亚洲区域赛（济南）：签到题A Matrix Equation（高斯消元求线性异或方程组自由元个数）

problem给出两个n*n的01矩阵，A和B定义两种运算，Z(i,j)=Xi行*Yj列相加%2，D(i,j)=X(i,j)*Y(i,j)求最多有多少个可能的矩阵C，满足A运算1C==B运算2C。solution思路：（明天接着补）A和B相同等价于A(i,j)异或B(i,j)为0.Xi行Yj列相加%2 等价于 Xi行Yj列相互异或（异或方程组）代码：#include <bits/stdc++.h>using namespace std;typedef long

2021-01-02 00:28:55 137

#### 原创 【Luogu 3389】【模板】高斯消元法（用高斯消元求解线性方程组）

1、线性方程组2、高斯消元法步骤1：通过一系列的加减消元，得到类似 kx=b 的式子，求得最后一个未知量的结果步骤2：然后逐一回代求解整个 x 向量以下列方程为例：第一次加减消元，用第1式子消去后面所有的x得到：第一次加减消元，用第2个式子消去后面所有的y得到：这样就完成了高斯消元的步骤1，形成了一个倒三角形的形状，接下来主意回代即可。3、用矩阵表示高斯消元（1）消元过程：（2）无解： 当消元完毕后，发现有一行系数都为 0，但是常数项不为 0，此时无解例如：（3）多解： 当

2021-01-01 23:20:06 115

#### Windows Servers2016 WSL环境安装

Windows Subsystem for Linux 安装程序 1、首先在设置中打开开发者模式 2、将安装包解压到C:\Users\Administrator 3、运行以下两行 dism /online /norestart /add-package /packagepath:Microsoft-Windows-Lxss-Optional-Package.cab /packagepath:Microsoft-Windows-Lxss-Optional-Package-en-US.cab /packagepath:Microsoft-Windows-Lxss-Package.cab /packagepath:Microsoft-Windows-Lxss-Package-en-US.cab dism /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all 4、重启后运行中输入bash即可。 默认系统是乌班图。

2018-06-08

2018-05-23

2020-04-02

#### discuz论坛实现qq小程序

1. 将 wmapi 放到 Discuz 根目录下 ，访问 https://网址/wmapi/wmapi_install.php 2. 填写小程序 appid 以及 appsecret 进行安装（至此，论坛接口已安装完成） 3. wmapp 即为小程序源码，用QQ提供的开发者工具打开 4. 修改 app.js 下的 base_url 以及 svr_url 为你的网址 base_url: 'https://www.xxxx.com/' svr_url: 'https://www.xxxx.com/wmapi/'

2020-02-29

2018-06-08

#### USACO翻译及题解

USACO教程,包含USACO全部英文原题，题解（NOCOW整理版），翻译，教程，代码，测试数据。

2018-05-23

#### Sony NWZ-M504 原版固件

Sony NWZ-M504原版固件。 若是意外将MP3格式化或者弄坏，可以将该固件备份拷贝回去复原

2017-01-26

UEFI启动原理剖析

2017-01-26

#### VBScript经典脚本+代码+exe编译器

VBS To Exe 编译器 各种经典脚本 VBScript相关代码

2017-01-26

#### potplayer类似windows的皮肤和亲民设置

potplayer类似windows的皮肤和亲民设置 皮肤包括wmp12.dsf。原装皮肤等 设置包括常用的双击放大缩小

2018-06-09

#### GUIDE(NOI_Windwos环境配置安装包)

GUIDE(NOI_Windwos环境配置安装包) NOI官网有下载，鉴于MinGW下载过慢，打包搬运。

2017-01-26

#### 技嘉GA7PESH3主板说明书

GA-7PESH3 Dual LGA2011插座主板 - Intel® E5-2600系列处理器 包括主板布局，硬件安装，BIOS设置相关的内容。

2020-07-21

2020-07-21

2018-06-08

#### Windows PE_DIY工具

7-Zip+BOOTICE 1.3.3.2+DiskGenius 4.7.1.127+Registry Workshop+WimTool V1.30.2011.501+虚拟光驱+EasyBCD 单文件+GRLDR_Edit(引导编辑)+MsgDiyer(PE启动菜单界面修改)+PDF阅读器+UltraISO 9.6.2.3059+UltraISO 9.6.2.3059

2017-01-26

2018-12-22

#### OppoA1107安卓Linux

OppoA1107安卓Linux 可以在安卓系统上安装Linux、乌班图 包括系统镜像下载地址和一些软件，工具，教程

2018-06-09

2018-06-08

2017-01-26

2017-01-26

2017-01-26

#### UVa1368 DNA序列 学过C语言的帮我看一下问题在哪里，怎么改好吗？

###### 空空如也

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

TA关注的人 TA的粉丝