AtCoder Beginner Contest 393 A - Poisonous Oyster# 题意# 两个人A,B吃4种东西,A吃1,2,B吃1,3,给出两人状态fine或sick,问哪种食物有毒 思路# 模拟 代码# 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using nam
G题在罚坐,剪掉了。, 视频播放量 212、弹幕量 0、点赞数 4、投硬币枚数 4、收藏人数 4、转发人数 0, 视频作者 CreatiQ, 作者简介 Arcaea/ICPC 区域赛铜/SCNU/大一/数学与应用数学(师范),相关视频:AtCoder Beginner Contest 399 | D E F 讲解,【坐牢2h13min】Teza Roun
AtCoder Beginner Contest 402(A-F详细题解) A 思路:我们直接输出字符串中的大写字母即可。 代码:#include<bits/stdc++.h> using namespace std; #define int long long #define N 500010 signed main(){ string s;cin>>… 秋日薄雾 C语言迷宫(老鼠吃奶酪)代码 #include <stdio.h>...
By the way, it seems AGC disappeared.
-, 视频播放量 99、弹幕量 0、点赞数 2、投硬币枚数 0、收藏人数 2、转发人数 0, 视频作者 大脑袋火柴人, 作者简介 不想当世界冠军的xcpcer不是一颗好菜菜(^O^),相关视频:针对电赛新玩家:一小时速通基本功能—GPIO、PWM、ADC、IRQ、TIMER、UART、USB、Multicore,随便
CMake it Forest DSwitch Seats CMake it Forest 贾恒:判断图中是否有环的三种方法 要求没有环,该图是无向图,若两点之间已经联通,再加边一定成环,使用并查集,对于每次读入的边,若这两条边已经在一个集合,则再加边就成环,所以ans++。 #include"bits/stdc++.h"#define ll long longusingnamespacestd;intn...
vector<pair<int,int>> g[N];structnode{inta, y, c, z, id; };voidsolve(){intn, m; cin >> n >> m;autoidx = [&](inti,intj) {return(i -1) * m + j; };vectorf(n +1, vector<int>(m +1));for(inti =1; i <= n; i ++) {for(intj =1; j <= m; j ++) { ...
·AtCoder Beginner Contest (ABC) 这是最频繁且最简单的入门赛,通常情况下每月至少举行2次。2019年4月27日(含)之前,每场比赛共4题,时长100分钟,满分1000分且Rating超过1199的选手不计Rating值。自2019年5月19日起改版升级为6道题目,时长不变,满分2100分且Rating值超过1999的选手不计Rating值。改版之后比赛质量...
We will hold AtCoder Beginner Contest 396. Contest URL: https://atcoder.jp/contests/abc396 Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20250308T2100&p1=248 Duration: 100 minutes Writer: toam, sounansya Tester: physics0523, yuto1115 Rated range: ~ 1999 The point...
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;...