AtCoder Beginner Contest 042 题解 比赛链接:https://atcoder.jp/contests/abc042A - Iroha and Haiku (ABC Edition)题目大意: 给你三个数,判断能否组成一个 5,7,55,7,5 的排列。示例程序:#include <bits/stdc++.h> using namespace std; int a[3], b[] = {5, 5, 7}; int main() { for...
AtCoder Beginner Contest 042 题解 https://atcoder.jp/contests/abc042 A - Iroha and Haiku (ABC Edition) 题目大意: 给你三个数,判断能否组成一个 \(5,7,5\) 的排列。 示例程序: #include <bits/stdc++.h> using namespace std; int a[3], b[] = {5, 5, 7}; int main() ...
AtCoder Beginner Contest 402 A-F 简易题解,如果题解中有什么问题可以找我反馈,谢谢! A.CBC直接枚举整个字符串,只输出大写字母即可。 int main(){ string s; cin >> s; for(int i = 0 ; i < s.size(); i++){… 枫落发表于Atcod... AtCoder Beginner Contest 402(A-F详细题解)...
AtCoder Beginner Contest 042题解(ABCD) AtCoder Beginner Contest 042题解(ABCD) 传送门 A - Iroha and Haiku (ABC Edition) 签到题,直接判断是否是两个 5 5 5,一个 7 7 7。 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1e5+5,M=1e6+5,...
AtCoder Beginner Contest 402(A-F详细题解) 秋日薄雾 4 人赞同了该文章 A 思路: 我们直接输出字符串中的大写字母即可。 代码: #include<bits/stdc++.h> using namespace std; #define int long long #define N 500010 signed main(){ string s;cin>>s; for(int i=0;i='A'&&s[i]<='Z')cout...
ios::sync_with_stdio(false); cin.tie(0), cout.tie(0);int__ =1;//cin >> __;while(__--) {solve(); }return0; } B - Restaurant Queue# 题意# 思路# 模拟 代码# 点击查看代码 #include<bits/stdc++.h>#include<unordered_map>#include<unordered_set>usingnamespacestd;#defineint long ...
·AtCoder Beginner Contest (ABC) 这是最频繁且最简单的入门赛,通常情况下每月至少举行2次。2019年4月27日(含)之前,每场比赛共4题,时长100分钟,满分1000分且Rating超过1199的选手不计Rating值。自2019年5月19日起改版升级为6道题目,时长不变,满分2100分且Rating值超过1999的选手不计Rating值。改版之后比赛质量...
AtCoder Beginner Contest 242 F(组合数学) https://zhuanlan.zhihu.com/p/476659976 AtCoder Beginner Contest 242 补题记录 https://blog.csdn.net/bunny_1024/article/details/123305209 零点工作室暑假集训(AtCoder--ABC242) https://blog.csdn.net/weixin_73807663/article/details/131714591 ...
AtCoder Beginner Contest 283 E - Don't Isolate Elements https://www.bilibili.com/video/BV1oD4y1L76r/ https://www.cnblogs.com/zltzlt-blog/p/17344192.html AtCoder Beginner Contest 283 E. Don‘t Isolate Elements(预支下一行状态的状压dp) ...
比赛链接 AtCoder Beginner Contest 224 问题D:8 Puzzle on Graph 问题描述:在无向图中,9个点和m条边形成,其中有8块拼图分别位于其中8个点上,一个点上没有拼图。每块拼图可移动至没有拼图的点。任务是求解最少操作次数使得第i块拼图位于点i上,若无法实现则输出-1。思路:经典“八数码问题”...