} B - ASCII Art (abc294 b) 题目大意 给定一个二维数组,将其中的0变成.,其余的1∼261∼26则变成A∼ZA∼Z,输出变换后的数组。 解题思路 模拟即可。 神奇的代码 #include<bits/stdc++.h> usingnamespacestd; usingLL =longlong; intmain(void){ ios::sync_with_stdio(false); cin.tie(0); c...
· AtCoder Beginner Contest 311 · AtCoder Beginner Contest 303 · AtCoder Beginner Contest 292 [A - F](改) · AtCoder Beginner Contest 128 · AtCoder Beginner Contest 315 阅读排行: · 使用TypeScript开发微信小程序(云开发)-入门篇 · 没几个人需要了解的JDK知识,我却花了3天时间研...
I could not find the usual discussion post about the most recent atcoder contest, so I'm posting here. How to solve problem G?atcoder, beginner, contest, 294 +13 Ghassane 23 months ago 7 Comments (6) Show archived | Write comment? chromate00 23 months ago, # | +20 G: ...
void solve() { } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n, m; cin >> n >> m; std::vector<int> a(n + 1), b(m + 1), c(n + m + 1); for (int i = 1; i <= n; i++) { cin >> a[i]; } for (int i = 1; i <= m; i++) ...
AtCoder Beginner Contest 294 (A~H) Solution - zhangzuoxiang的文章 - 知乎 zhuanlan.zhihu.com/p/61 代码: #include <iostream> #include <cstring> #include <cmath> #include <algorithm> #include <queue> #include <vector> #include #include <iomanip> using namespace std; #define db(x) cerr...
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 242, Rank 1 https://www.bilibili.com/video/BV12q4y1471K/ ...
AtCoder Beginner Contest 269 题解 A - E https://zhuanlan.zhihu.com/p/565544755 AtCoder Beginner Contest 269 (A-F)题解 https://www.cnblogs.com/ycllz/p/16704061.html AtCoder 刷题+题解 https://www.zhihu.com/column/c_1748429792083636225?page=2 ...
AtCoder Beginner Contest 044 题解 A - Tak and Hotels (ABC Edit) 题目大意: 住\(N\) 天旅馆,前 \(K\) 天每晚 \(X\) 元,接下来每晚 \(Y\) 元。问:一共花多少钱? 解题思路: 直接一个if判断即可。 示例程序: #include <bits/stdc++.h>...
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,inf=0x3f3f3f3f,mod=1e9+7; ...
题意: 题解 利用一个数能被3整除当且仅当其各位之和sum能被3整除。 如果sum本身能被3整除,则不需要删除。 否则统计原数的每一位数%3后的个数,比较%3 =1与%3 =2 的个数,有两种方法可以使其sum变为 %3 =0: %3=1 与%3=2,相互抵消,还剩下的差值即为答案。