劳累一天不该写题,启发式合并都写错了 A - Spread (abc329 A) 题目大意 给定一个字符串,将每个字符输出出来,中间留个空格。 解题思路 遍历输出即可。 神奇的代码 #include<bits/stdc++.h> usingnamespacestd; usingLL =longlong; intmain(void){ ios::sync_with_stdio(false)
AtCoder Beginner Contest 405 A~G 小猪嘟嘟 Atcoder Beginner Contest 351(A-F) A(...)加减法,读懂题意即可 #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef long long LL; typedef double D; const int N = 2e5 + 10; … stmo Xmake:C++构建...
Beginner Contest 403 A-G 简易题,如果题解中有什么问题可以找我反馈,谢谢! A.Odd PositionSum直接 for 循环输入,只对奇数求和即可。int main){ int n; cin >> n; int res = 0; for(int i = 1; i… 枫落发表Atcod... AtcoderBeginner contest 256题解(A-G) A.2^N直接好了...
ATcoder ABC 358 补题记录(A~D,G)2024-06-153.AtCoder Beginner Contest 359 补题记录(A~E,G,G 暂无代码)2024-06-224.AtCoder Beginner Contest 361 补题记录(A~F)2024-07-065.AtCoder Beginner Contest 362 补题记录(A~E,G)2024-07-136.AtCoder Beginner Contest 363 补题记录(A~F)2024-07-...
【AtCoder Beginner Contest 直播活动暂停通知】自 2024 年 7 月起,鉴于老师目前的工作负担,我们遗憾地宣布每周的 AtCoder Beginner Contest 直播讲题活动将暂停。请持续关注我们的粉专或 IG ,一旦活动恢复,我们将第一时间通知大家。比赛链接:https://atcoder.jp/contests/abc359 --- 01:22 A - 循环 02:55 ...
AtCoder Beginner Contest 359 A~F https://www.bilibili.com/video/BV1G4gveBENB/ AtCoder Beginner Contest 359 | 完成度 [6 / 7] https://www.bilibili.com/video/BV1kS411A7M3/ AtCoder Beginner Contest 359 A 至 G 題讲解 by dreamoon https://www.bilibili.com/video/BV1x1421r7gH/ AtCoder...
AtCoder Beginner Contest 382 题解 int n,k; cin>>n>>k; string p; cin>>p; int c=0; Rep(i,p.length()) c+=p[i]=='@'; cout<<n-c+min(k,c); 1. 2. 3. 4. 5. 6. 7. B - Daily Cookie 2 int n,k; cin>>n>>k;...
Did you enjoy the AtCoder Beginner Contest 128? A Japanese editorial is already out, but unfortunately there is no English editorial, so I translated it into English experimentally. Note that this is an unofficial one; AtCoder has no responsibility for this editorial. Also, I didn't do ...
We will hold AtCoder Beginner Contest 137. Contest URL: https://atcoder.jp/contests/abc137 Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20190810T2100&p1=248 Duration: TBD (around 2 hours) Number of Tasks: 6 writer:potetisensei HIR180 Drafear yokozuna57 DEGwer ...
AtCoder Beginner Contest 273的C题是否需要使用动态规划来解决? A - A Recursive Function Origional Link 题目大意: 求f(k) 如下: f(0)=1; f(k)=k×f(k−1) 思想: 签到题。 代码: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 #include <iostream> #include <cstring> #include <cstdio...