07 2022 档案
摘要:# 如何将自定义安装的软件加入到启动器中 这里以idea为例 首先打开`/usr/share/applications`这个目录新建一个`idea.desktop`文件,也可以在别的地方新建并修改好后复制到这个目录 ```shell [Desktop Entry] Type=Application
阅读全文
摘要:LOJ 10120. 最敏捷的机器人 ST算法的模板题 #include <bits/stdc++.h> using namespace std; int read() { int x = 0, f = 1, ch = getchar(); while ((ch < '0' || ch > '9')
阅读全文
摘要:A Alice and Bob 先把数字进行质因数分解,分解成 n 堆数字,每堆有 k 个,这样就变成了反尼姆博弈问题 反尼姆博弈的先手必胜条件有两个 异或和为 0 , 所有数等于 1 异或和不为 0 ,且有数大于 1 #include<bits/stdc++.h> #define int long
阅读全文
摘要:220707个人赛(题目来源Codeforces Round #674 (Div. 3) )
阅读全文
摘要:A 洛姐打题日记 签到 #include<bits/stdc++.h> using namespace std; int32_t main() { string s; cin >> s; if( s == "AC" ) cout << "Accepted\n"; else if( s == "WA"
阅读全文
摘要:A 中奖 结构体排序就好了,我是用 pair ,存相反数 #include<bits/stdc++.h> using namespace std; int read() { int x = 0, f = 1, ch = getchar(); while ((ch < '0' || ch > '9')
阅读全文
摘要:A. Division? a题就是简单的if语句就好了 n = int(input()) for i in range(n): x = int(input()) if x <= 1399: print("Division 4") elif x <= 1599: print("Division 3")
阅读全文
摘要:20220701 SMU&CUIT友谊赛(题目来源2021ccpc女生赛)
阅读全文
摘要:NC18386 字符串 这道题几乎就是双指针的模板题了。 每次移动一下左端点,然后移动右端点知道满足条件 #include<bits/stdc++.h> using namespace std; int v[300] = {}; int32_t main() { string s; cin >> s
阅读全文

浙公网安备 33010602011771号