*博客头图：

RGB颜色，例如：#AFAFAF

Hover：

RGB颜色，例如：#AFAFAF

RGB颜色，例如：#AFAFAF

# gwj1139177410的博客

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

#### 原创 第45届ICPC 昆明站 临时模板补充

2021-04-05 13:47:55 335 2

#### 原创 平时上机练习的注意点（NOIP2019）

2018-08-14 14:41:39 1048

#### 原创 2021 第十二届蓝桥杯大赛软件赛决赛, 国赛，C/C++ 大学B 组

2021-06-05 13:45:37 817 2

#### 原创 Codeforces Round #723 (Div. 2)D. Kill Anton 贪心，逆序对个数

problemD. Kill Antontime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputAfter rejecting 10100 data structure problems, Errorgorn is very angry at Anton and decided to kill him.Anton’s DNA can be repr

2021-05-30 18:10:34 150

#### 原创 CF #723 (Div. 2)C1_C2. Potions (Hard Version)可反悔贪心

problemC2. Potions (Hard Version)time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is the hard version of the problem. The only difference is that in this version n≤200000. You can make hacks on

2021-05-30 18:08:40 76

#### 原创 Codeforces Round #723 (Div. 2）B. I Hate 1111（完全背包）

problemB. I Hate 1111time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an integer x. Can you make x by summing up some number of 11,111,1111,11111,…? (You can use any number among them

2021-05-30 18:05:35 72 1

#### 原创 Codeforces Round #723 (Div. 2)， A. Mean Inequality

problemA. Mean Inequalitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array a of 2n distinct integers. You want to arrange the elements of the array in a circle such that no ele

2021-05-30 18:03:48 19

#### 原创 CF Round #722 (Div. 2) C. Parsa‘s Humongous Tree（树形dp）

problemC. Parsa’s Humongous Treetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputParsa has a humongous tree on n vertices.On each vertex v he has written two integers lv and rv.To make Parsa’s tre

2021-05-30 18:01:02 8

#### 原创 Codeforces Round #722 (Div. 2)B. Sifid and Strange Subsequen

problemB. Sifid and Strange Subsequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA sequence (b1,b2,…,bk) is called strange, if the absolute difference between any pair of its elements is gre

2021-05-30 17:59:31 38

#### 原创 Codeforces Round #722 (Div. 2) A. Eshag Loves Big Arrays

problemA. Eshag Loves Big Arraystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEshag has an array a consisting of n integers.Eshag can perform the following operation any number of times: choose

2021-05-30 17:58:14 7

#### 原创 Codeforces Round #720 (Div. 2), B. Nastia and a Good Array

problemB. Nastia and a Good Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNastia has received an array of n positive integers as a gift.She calls such an array a good that for all i (2≤i≤n

2021-05-30 17:56:28 23

#### 原创 Codeforces Round #720 (Div. 2) A. Nastia and Nearly Good Num

problemA. Nastia and Nearly Good Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNastia has 2 positive integers A and B. She defines that:The integer is good if it is divisible by A⋅B;Othe

2021-05-30 17:55:11 14

#### 原创 Codeforces Global Round 14, D. Phoenix and Socks

problemD. Phoenix and Sockstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTo satisfy his love of matching socks, Phoenix has brought his n socks (n is even) to the sock store. Each of his socks h

2021-05-29 19:39:21 8

#### 原创 Codeforces Global Round 14, C. Phoenix and Towers

problemC. Phoenix and Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPhoenix has n blocks of height h1,h2,…,hn, and all hi don’t exceed some value x. He plans to stack all n blocks into m s

2021-05-29 19:38:12 5

#### 原创 Codeforces Global Round 14, B. Phoenix and Puzzle

problemB. Phoenix and Puzzletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPhoenix is playing with a new puzzle, which consists of n identical puzzle pieces. Each puzzle piece is a right isoscele

2021-05-29 19:36:36 5

#### 原创 Codeforces Global Round 14，A. Phoenix and Gold

problemA. Phoenix and Goldtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPhoenix has collected n pieces of gold, and he wants to weigh them together so he can feel rich. The i-th piece of gold ha

2021-05-29 18:56:13 8

#### 原创 Codeforces Round #716 (Div. 2) A. Perfectly Imperfect Array

problemA. Perfectly Imperfect Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven an array a of length n, tell us whether it has a non-empty subsequence such that the product of its elements

2021-05-29 18:51:12 5

#### 原创 Codeforces Round #716 (Div. 2), B. AND 0, Sum Big, 快速幂结论题

problemB. AND 0, Sum Bigtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBaby Badawy’s first words were “AND 0 SUM BIG”, so he decided to solve the following problem. Given two integers n and k, co

2021-05-29 18:49:41 3

#### 原创 Codeforces Round #716 (Div. 2) C. Product 1 Modulo N

problemC. Product 1 Modulo Ntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNow you get Baby Ehab’s first words: “Given an integer n, find the longest subsequence of [1,2,…,n−1] whose product is 1

2021-05-29 18:47:29 12

#### 原创 兰州大学第一届『飞马杯』程序设计竞赛（同步赛），签到题ACFHJ

2021-05-29 15:46:29 1042 5

#### 原创 2021 ZUST，XCPC选拔赛

0加粗的已做标号 标题 通过数 提交数 通过率7-1 Alice’s XOR 3 4 0.757-2 Building Roads 4 17 0.247-3 Celebration 1 1 1.007-4 Dungeon 4 13 0.317-5 Exercise 4 18 0.227-6 FCT 0 0 0.007-7 Great ZUST 1 1 1.007-8 Happy Children’s Day 0 0 0.007-9 It’s a warm problem 0 0 0.0

2021-05-23 22:13:07 49

#### 原创 【PTA】520 钻石争霸赛 2021，119分

2021-05-20 23:43:10 169 5

#### 原创 【PTA】 PAT乙级真题，95题（C++，AC代码）

PAT乙级真题95题标号标题分数通过数提交数通过率1001害死人不偿命的(3n+1)猜想151095583091190.351002写出这个数20717392815630.251003我要通过！20374361586230.241004成绩排名20524301659740.321005继续(3n+1)猜想25355241370880.261006换个格式输出整数15457799

2021-05-15 21:35:31 256

#### 原创 HDOJ水题集合11：桶排序, 折半搜索

Solved Problem ID Title Ratio(Accepted / Submitted)1001 sort 31.25%(15/48)1002 解方程 34.29%(12/35)1001 sortTime Limit : 6000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 48 Accepted Submission(s) : 15Font: Times

2021-05-12 20:51:14 21

#### 原创 配置Git for windows（Git bash）登录GitHub

1、设置本地用户这个不是登录，而是给你的电脑设置一个用户，上传的时候，告诉远程仓库是谁上传的。git config --global user.name "Your Name"（双引号不用删，里面内容替换掉）git config --global user.email "email@example.com"2、生成公共秘钥ssh-keygen -t rsa -C "email@example.com"输入完以后一直默认即可，屏幕上会显示密钥的存放位置，默认是在C:\Users\gwj11.ss

2021-05-11 22:25:38 21

#### 原创 HDOJ水题集合10：卡特兰数

Solved Problem ID Title Ratio(Accepted / Submitted)1001 小兔的棋盘 54.05%(20/37)1002 连线游戏 70.00%(14/20)1003 Train Problem II 40.00%(12/30)1004 Buy the Ticket 35.71%(5/14)1001 小兔的棋盘小兔的棋盘Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (

2021-05-08 23:07:53 48

#### 原创 2021 MetaCamp程序设计大赛线上资格赛 7-2 心情故事

7-2 心情故事7-2 心情故事最近 n 天中，第 i 天 meta 酱的心情指数是 e​i​​ .meta 酱想知道在任意连续 w 天中，第 3 好的心情指数。具体地说，对于所有 1≤i≤n−w+1，meta 酱想求出 f(i) 表示 e​i​​ ,…,e​i+w−1​​ 中第 3 大的值。输入格式输入文件包含多组数据，请处理到文件结束。对于每组数据，第一行包含 2 个整数 n 和 w.第二行包含 n 个整数 e​1​​ ,…,e​n​​ .3≤n≤2×10​5​

2021-05-08 20:56:10 207

#### 原创 HDOJ水题集合9

Solved Problem ID Title Ratio(Accepted / Submitted)1001 国王陛下的货币改革 86.36%(19/22)1002 选课时间 66.67%(12/18)1003 喜欢数学的洪药师 25.00%(4/16)1004 Holding Bin-Laden Captive! 61.54%(8/13)1001 国王陛下的货币改革国王陛下的货币改革Time Limit : 2000/1000ms (Java/Other) Memory Limit :

2021-04-28 23:09:53 59 2

#### 原创 【2021团体程序设计天梯赛】L2部分（PTA，L2-037到L2-040）题解代码&复盘

2021-04-26 23:21:54 169

#### 原创 【2021团体程序设计天梯赛】L1部分（PTA，L1-073到L1-080）题解代码

2021-04-26 23:09:43 429

#### 原创 HDOJ水题集合8：DBFS

1001 内蒙创业内蒙创业Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 52 Accepted Submission(s) : 23Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description莱特与瑞秋毕业了，他们决定在内蒙创业成立一家畜牧业公司，

2021-04-21 20:54:25 81

#### 原创 HDOJ水题集合7：记忆化搜索

1001 猫和老鼠（4）Time Limit : 2000/1000ms (Java/Other) Memory Limit : 512000/512000K (Java/Other)Total Submission(s) : 33 Accepted Submission(s) : 16Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description有个小老鼠在校园里收藏了一些它最爱吃的奶酪。校园可以看

2021-04-14 21:40:42 123

#### 原创 AcWing基础算法课Level-2 第四讲 数学知识

AcWing基础算法课Level-2 第四讲 数学知识您将学会以下数学名词质数，试除法，埃式筛法，线性筛，辗转相除，算术基本定理，质因数分解，欧拉函数，快速幂，费马小定理，逆元，拓展欧几里得，一次同余方程，同余方程组，中国剩余定理，线性方程组，高斯消元，组合数，卢卡斯定理，卡特兰数，容斥原理，博弈论，NIM游戏, SG函数, Mex运算。质数AcWing 866. 试除法判定质数2425人打卡AcWing 867. 分解质因数2276人打卡AcWing 868. 筛质数2204人打卡

2021-04-11 21:37:06 50

#### 原创 HDOJ水题集合6：杂题

1001求全排列（1）Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 33 Accepted Submission(s) : 16Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description输入一个正整数n, 请按照字典序输出1-n的全排列。Inp

2021-04-07 23:27:13 119

#### 原创 AcWing基础算法课Level-2 第五讲 动态规划

AcWing基础算法课Level-2 第五讲 动态规划背包问题AcWing 2. 01背包问题3018人打卡AcWing 3. 完全背包问题2749人打卡AcWing 4. 多重背包问题2552人打卡AcWing 5. 多重背包问题 II2312人打卡AcWing 9. 分组背包问题2276人打卡线性DPAcWing 898. 数字三角形2531人打卡AcWing 895. 最长上升子序列2545人打卡AcWing 896. 最长上升子序列 II1846人打卡AcWing 897.

2021-04-07 00:01:43 30

#### 原创 之前出的一道背包题面，暂无题解

2021-04-06 22:06:09 17

#### 原创 第 45 届国际大学生程序设计竞赛（ICPC）亚洲区域赛（昆明），签到题J Parallel Sort

problemAs a master of parallel computing, schwer is recently considering about the method to achieve quick sorting on parallel computers. He needs your help!Given a permutation (p_1,\cdots,p_n)(p1​ ,⋯,pn​ ), you need to sort the permutation with mi

2021-04-05 15:48:54 114

#### 原创 第 45 届国际大学生程序设计竞赛（ICPC）亚洲区域赛（昆明），签到题HIL

H. Hard Calculation链接：https://ac.nowcoder.com/acm/contest/12548/H来源：牛客网题目描述Hooray! It is the first time that Kunming holds an ICPC regional contest. Suppose that everything goes on well and the Kunming Regional Contest is held each year. In which year

2021-04-04 21:22:28 185

#### 原创 第 45 届国际大学生程序设计竞赛（ICPC）亚洲区域赛（昆明）(热身赛)

A. Meditation 模拟链接：https://ac.nowcoder.com/acm/contest/13977/A来源：牛客网Luna had a stressful day and she wants to do a meditation routine that relaxes her well. Luna’s routines are more or less relaxing and to determine how relaxing a routine is, Luna compu

2021-04-02 21:03:57 203

#### 原创 AcWing基础算法课Level-2 第二讲 数据结构

AcWing基础算法课Level-2 第二讲 数据结构单链表AcWing 826. 单链表3453人打卡双链表AcWing 827. 双链表2865人打卡栈AcWing 828. 模拟栈3134人打卡AcWing 3302. 表达式求值332人打卡队列AcWing 829. 模拟队列3048人打卡单调栈AcWing 830. 单调栈3340人打卡单调队列AcWing 154. 滑动窗口3087人打卡KMPAcWing 831. KMP字符串2808人打卡TrieAcWi

2021-04-01 07:06:50 31

#### USACO翻译及题解

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

2018-05-23

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

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

2017-01-26

2020-04-02

UEFI启动原理剖析

2017-01-26

#### 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

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

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

2017-01-26

#### 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

#### 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

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的粉丝