上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: SMU Spring 2023 Trial Contest Round 10 A - Remove Duplicates #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; typedef pair<strin 阅读全文
posted @ 2023-04-25 23:46 bible_w 阅读(6) 评论(0) 推荐(0) 编辑
摘要: SMU Spring 2023 Trial Contest Round 9 A - Wrong Subtraction #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; typedef pair<string 阅读全文
posted @ 2023-04-23 17:20 bible_w 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 西南民族大学 2023 天梯自主训练 4 多项式A除以B 思路:a表示被除多项式,b表示除数多项式,一次运算的商的项p为a的最高项-b的最高项,商的系数q为a的最高项的系数除以b的最高项的系数,将所有a中项数和b的项数乘p后相同的系数减去b项的系数乘q(...haoluan...看图吧) #incl 阅读全文
posted @ 2023-04-20 20:25 bible_w 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 西南民族大学 2023 天梯自主训练 3 正整数A+B #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1e3+5,INF=0x3f3f3f3f,Mod=1e6; const dou 阅读全文
posted @ 2023-04-19 22:01 bible_w 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 西南民族大学 春季 2023 训练赛 8 嫑废话上代码 #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; typedef pair<string,int>PSI; const int N=2e2+5,INF= 阅读全文
posted @ 2023-04-18 22:02 bible_w 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 西南民族大学 春季 2023 训练赛 6-补题 今天我要赢 #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1e3+5,M=525605,INF=0x3f3f3f3f,Mod=1e6 阅读全文
posted @ 2023-04-13 09:58 bible_w 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 西南民族大学 春季 2023 训练赛 5 自动编程 #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1e4+5,M=1e3+5,INF=0x3f3f3f3f,Mod=1e6; con 阅读全文
posted @ 2023-04-09 21:42 bible_w 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 863 (Div. 3) A - Insert Digit 思路:插到第一个小于它的位置前 #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1e5+ 阅读全文
posted @ 2023-04-06 00:25 bible_w 阅读(19) 评论(0) 推荐(0) 编辑
摘要: SMU Spring 2023 Trial Contest Round 4 (^_^) A小石的图形 思路:pi=acos(-1) #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1 阅读全文
posted @ 2023-04-04 21:36 bible_w 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 862 (Div. 2)A - We Need the Zero 思路:某个数被异或两次相当于没变,即判断n的奇偶性;n为偶数时判断所有数异或后的数是否为0,若为0,输出任意数;n为奇数时答案为所有数异或后的值 #include<bits/stdc++.h> usi 阅读全文
posted @ 2023-04-03 21:25 bible_w 阅读(28) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页