greatest atcoder world 2022

AtCoder Beginner Contest 154

AtCoder Beginner Contest 154 https://atcoder.jp/contests/abc154 今天也比较简单。 E - Almost Everywhere Zero 贪心或者数位dp。 (其实我这个贪心应该就是在模拟数位dp) 贪心 #include <bits/s ......
Beginner AtCoder Contest 154

[2022年蓝桥杯C/C++ A组]个人做题记录

碎碎念 欸嘿,鸽了小半年 去做了一些不喜欢的事情,但兜兜转转,还是acm最香捏 求和 题意 求$\sum_{i=1}^n\sum_{j=1}^n a_i*a_j (i!=j)$ 题解 感觉是去年的时候笨人唯一做满分的题…… 经典前缀和,设$sum[i]=\sum_{j=i}^na[j]$,答案即为$ ......
蓝桥 个人 2022

AtCoder Beginner Contest 296

AtCoder Beginner Contest 296 比赛连接 好久没写题解了~~ D - M<=ab 题意就是给定N,M, 求一个最小的数x同时满足x>=M且x=a*b(a<=N,b<=N); N,M<=1e12 开始脑瘫想了二分,仔细一想很明显x不满足单调性,想了下暴力的时间复杂度巨大... ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 144

AtCoder Beginner Contest 144 https://atcoder.jp/contests/abc144 补一下3.23做的。 D - Water Bottle 分类讨论,三角函数。 #include <bits/stdc++.h> #define pi acos (-1) u ......
Beginner AtCoder Contest 144

AtCoder Beginner Contest 296 A-E

AtCoder Beginner Contest 296 A - Alternately 1 void solve(){ 2 int n=read(); 3 string s; 4 cin>>s; 5 int ans=1; 6 for(int i=0;i<s.size()-1;i++){ 7 if( ......
Beginner AtCoder Contest 296 A-E

AtCoder Beginner Contest 296

AtCoder Beginner Contest 296 赛时代码 A - Alternately // Problem: A - Alternately // Contest: AtCoder - AtCoder Beginner Contest 296 // URL: https://atcod ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 296 做题记录

D - M<=ab 题意:求最小的正整数,不小于 $m$,且能被表示为两个不大于 $n$ 的正整数的数,不存在输出 -1。$n,m\le10^{12}$。 直接枚举 $a$,计算最小的满足 $ab\ge m$ 的 $b$,如果 $a>b$ 则后面的情况一定是重复的。时间复杂度 $\text{O}(\ ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 153

AtCoder Beginner Contest 153 https://atcoder.jp/contests/abc153 这套比较简单。 E - Crested Ibis vs Monster 完全背包 #include <bits/stdc++.h> #define ll long long ......
Beginner AtCoder Contest 153

AtCoder Beginner Contest 296

E Transition Game 拓扑跑环。 C++ Code #include "bits/stdc++.h" using namespace std; using i64 = long long; int main() { ios::sync_with_stdio(false); cin.ti ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 296 ABCD

https://atcoder.jp/contests/abc296 ###A - Alternately #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL,LL> PII; cons ......
Beginner AtCoder Contest ABCD 296

AtCoder Beginner Contest 296

295? 上周ECF玩去了,咕咕咕 A - Alternately (abc296 a) 题目大意 给定一个包含$MF$的字符串,问是否是 $M,F$交替出现的。 解题思路 判断相邻字母是否相等即可。 神奇的代码 ```cpp #include using namespace std; using ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 152

AtCoder Beginner Contest 152 https://atcoder.jp/contests/abc152 F我看了半天,编码方式那里还算是感觉比较玄乎,这题确实妙。 D - Handstand 2 只需记录两端数字即可,不要想太复杂。 #include <bits/stdc++ ......
Beginner AtCoder Contest 152

Solution Set - Atcoder (on scene)

/ 哪怕只是一瞥见谜底就坠落 还有无数个想探求的巧合 / / 哪怕只是领悟到答案的晦涩 也全力证明所经过都值得 / ......
Solution Atcoder scene Set on

输出Hello World

HelloWorld 随便新建一个文件夹,存放代码 新建一个java文件 文件后缀名为java Hello.java System.out.println("hello word") 编写代码 public class Hello{ public static void main(String[] ......
Hello World

2022年第十三届蓝桥杯大赛软件类决赛C/C++大学B组真题

2022年第十三届蓝桥杯大赛软件类决赛C/C++大学B组真题 卡牌 const int N=2e5+10; pii a[N]; int sum; int b[N]; int n,m; void solve() { int mx=1e18,ans=0; cin>>n>>m; for(int i=1;i ......
蓝桥 真题 年第 大学 软件

Microsoft Visual Studio 2022 透明背景设置

1. 微软扩展官网 微软扩展官网:—>Visual Studio Marketplace 2. 待安装的扩展包 | 序号 | 扩展包(vsix包) | 官方说明 | | | | | | 1 | ClaudiaIDE | 此扩展更改编辑器的背景图像 | | 2 | Visual Studio Colo ......
Microsoft 背景 Visual Studio 2022

使用IDEA开发 Hello World

使用IDEA开发 使用IDEA新建 src=NEW=JAVA Class 然后进行编写 ,IDEA可以在拼写的时候输入首字母进行快速拼写。 ​ ......
Hello World IDEA

【专题】2022年中国跨境电商行业研究报告PDF合集分享(附原数据表)

全文链接:http://tecdat.cn/?p=32044 原文出处:拓端数据公众号 近年来,我国的跨境电子商务发展迅速,在过去五年中,其贸易额增长率达到了16.2%,已经成为稳定对外贸易的一支重要力量。 一方面,随着跨境电子商务的发展,跨境电子商务的监管政策得到了进一步的改善,跨境电子商务的规模 ......
数据表 研究报告 专题 报告 数据

AtCoder Beginner Contest 295

题解报告 基本的一些理解和问题都在注释中 A:Probably English //水题 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> #include <string> #include ......
Beginner AtCoder Contest 295

matlab R2022b的安装

Matlab R2022b是MathWorks于2022年9月发布的最新版本,包含了两个新产品:Medical Imaging Toolbox和Simscape Battery,以及对现有产品的若干更新。本文将介绍如何下载和安装Matlab R2022b,并进行许可破解,使其可以正常使用。 一、下载 ......
matlab R2022b R2022 2022b 2022

YACS 2022年9月月赛 甲组 T1 游戏体验 题解

最近很有空,我填坑来了( 思路 这道题目有一个很困难的限制:重复玩的角色会让它带来的快乐值清零。我们考虑如何消去这个限制。 考虑如下方法:假如我们考虑 $1\cdots$ $r$ 玩的最大值。区间内的最后一个 $x$ 类型角色玩它得到的快乐值是 $c_x$,倒数第二个 $x$ 类型角色玩它得到的快乐 ......
甲组 题解 月月 YACS 2022

AtCoder Beginner Contest 151

AtCoder Beginner Contest 151 https://atcoder.jp/contests/abc151 这一套质量一般 E - Max-Min Sums 组合数学 #include <bits/stdc++.h> #define ll long long using name ......
Beginner AtCoder Contest 151

vs2022 添加boost库

Boost 是一个开源的 C++ 库集合,提供了许多高质量的库,涵盖了许多不同的领域,如智能指针、多线程编程、正则表达式、数学库等等。Boost 的目标是提高 C++ 程序员的生产力和代码质量,同时遵循现代 C++ 的最佳实践。 第一步:下载boost库源码 https://www.boost.or ......
boost 2022 vs

联合省选 2020~2022

联合省选 2021 A 卷 D1T1 卡牌游戏 把两个序列合并起来排序后双指针即可。复杂度 $O(n\log n)$。 联合省选 2020 B 卷 D2T1 消息传递 等价于求与 $x$ 距离恰好为 $k$ 的节点个数。点分治/点分树均可,每组数据复杂度 $O((n+m)\log n)$。 ac l ......
2020 2022

AtCoder Beginner Contest 150

AtCoder Beginner Contest 150 https://atcoder.jp/contests/abc150 def都蛮不错的 D - Semi Common Multiple 先推一下:$x=a_i\times(p+0.5)\rightarrow x=\frac{a_i}2(2p ......
Beginner AtCoder Contest 150

2022版 IDEA去掉JAVA类中方法合并成一行现象问题

设置: File—>Settings —> Editor —>Code Folding —> Java —> "One - line methods" 取消勾选! 效果如下: ......
一行 现象 方法 问题 2022

2022/3/27 lmxl练习

from lxml import etree import urllib.request url="https://www.baidu.com" headers={ 'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit ......
2022 lmxl 27

2022/3/28 chrome自动驱动

from selenium import webdriver from selenium.webdriver.chrome.service import Service path=Service('chromedriver.exe') url='http://www.jd.com' brower=w ......
chrome 2022 28

2022/3/24 站长素材获取

import urllib.request from lxml import etree def create_request(page): if(page==1): url='https://sc.chinaz.com/tupian/fengjing.html' else: url='https: ......
素材 站长 2022 24

2022/3/23 绘制美日韩三国感染人数图

import json f_us=open("F:/美国.txt","r",encoding="UTF-8") f_jp=open("F:/日本.txt","r",encoding="UTF-8") f_in=open("F:/印度.txt","r",encoding="UTF-8") us_dat ......
人数 三国 日韩 2022 23