· AtCoder Beginner Contest 328 (ABC328) · AtCoder Beginner Contest 327 (ABC327) · AtCoder ABC326C 题解 · AtCoder Beginner Contest 326 · AtCoder Beginner Contest 326 阅读排行: · DeepSeek火爆全网,官网宕机?本地部署一个随便玩「LLM探索」 · 开发者新选择:用DeepSeek实现Cursor级...
#include<bits/stdc++.h> #define IOS ios::sync_with_stdio(false) #define TIE cin.tie(0),cout.tie(0) #define int long long #define y1 cyy #define fi first #define se second #define cnt1(x) __builtin_popcount(x) #define mk make_pair #define pb push_back #define pii pair<int...
B - 326-like Numbers #include<bits/stdc++.h>usingnamespacestd;voidsolve(){intn;cin>>n;autocheck=[&](intx){inta=x/100,b=x/10%10,c=x%10;returna*b==c;};for(inti=n;;i++)if(check(i)){cout<<i<<"\n";return;}}intmain(){ios::sync_with_stdio(false);cin.tie(nullptr);int...
AtCoder Beginner Contest 323 A 至 F 題讲解 by dreamoon https://www.bilibili.com/video/BV1VN411b7Pd/ AtCoder Beginner Contest 323 https://www.bilibili.com/video/BV1m84y1177k/ Xy_top Atcoder Beginner Contest #323 实况 https://www.bilibili.com/video/BV1Rj41147sE/ AtCoder Beginner Conte...
code #include <bits/stdc++.h> #define int long long int n, m; int qmi(int a, int b, int p) { int res = 1 % p; while (b) { if (b & 1) res = res * a % p; a = a * a % p; b >>= 1; } return res; } void solve() { std::cin >> n; std::vector<int>...
A.First ABC 2模拟即可。 inlinevoidqfl_zzz(){ll n=read();string s=sread();for(ll i=1;i<=n-2;++i)if(s[i]=='A'&&s[i+1]=='B'&&s[i+2]=='C'){writen(i);return;}writen(-1);} B.Prefix and Suffix模拟即可。 inlinevoidqfl_zzz(){ll n=read(),m=read();string s=s...
AtCoder Beginner Contest 131 题解 A - Security Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement The door of Snuke's laboratory is locked with a security code. The security code is a 44-digit number. We say the security code ishard to enterwhen it ...
AtCoder Beginner Contest 196 个人题解 A - Difference Max 区间左端减去区间右端 int main() { ios_base::sync_with_stdio(false), cin.tie(0); int a, b, c, d; cin >> a >> b >> c >> d; cout << b - c << endl; return 0;...
AtCoder (ABC 396)于上周六20:00进行。 周日(3月9日)晚上19:00我们在B站进行了AtCoder Beginner Contest 396的题解直播讲解。 本期主讲老师:清华大学 殷老师(NOI2019银牌) 欢迎加入ABC交流QQ群咨询、沟通、交流(群密码:AtCoder) ABC396比赛真题讲解
每年的编程竞赛如潮水般涌来,而如何在这场智力与技术的较量中脱颖而出,成为每一个参与者心中不断追寻的目标。就在本周六(3月16日)19:00,AtCoder Beginner Contest 397(简称ABC397)将再度拉开帷幕,此事件吸引了无数计算机科学爱好者与在校学生的目光。为了帮助选手们理解并掌握这些问题,我们将在本周日,3月17日...