· AtCoder Beginner Contest 252 A - F 题解 · AtCoder Beginner Contest 262 题解 · 【比赛笔记】AtCoder Beginner Contest 269笔记 阅读排行: · 2025成都.NET开发者Connect圆满结束 · Ollama本地部署大模型总结 · langchain0.3教程:从0到1打造一个智能聊天机器人 · 用一种新的分类方法梳...
我写了记忆化,但其实也可以直接区间 #include<bits/stdc++.h>usingnamespacestd; typedeflonglongll;constintmaxn=2000009;constll mo=998244353;intn,a[maxn]; ll dp[1000][1000]; ll dfs(intl,intr) {if(l==r)return1ll;if(dp[l][r]!=-1)returndp[l][r]; ll ans=0;for(inti=l;i<=r;i...
UNIQUE VISION Programming Contest 2022(AtCoder Beginner Contest 248) 103 -- 1:41:49 AtCoder Beginner Contest 252 现场实况 1911 -- 31:47 AtCoder Beginner Contest 247 1564 1 37:58 AtCoder Beginner Contest 242, Rank 1 133 -- 1:44:33 AtCoder Beginner Contest 251 实况 (D构造题不会呜...
AtCoder Beginner Contest 252 星宫六喰 一个追追番的无害死宅,WXG LLM打工人,随缘更新~ 12 人赞同了该文章 A: int main() { int n;cin >> n; cout << (char)n << endl; return 0; } B. int main() { int n, k; cin >> n >> k; vector<int> a(n); int mv1 = 0, mv2 ...
·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 399 (A - F) A - Hamming Distance#include <bits/stdc++.h> using namespace std; using LL = long long; void solve() { int n; string s, t; cin >> n >> s >> t; int ans =… Raven...发表于AtCod... AtCoder Beginner Conte...
AtCoder Beginner Contest 255 实况 (5题下班) https://www.bilibili.com/video/BV1JB4y1S7Jt/ Aising Programming Contest 2022(AtCoder Beginner Contest 255)实况 https://www.bilibili.com/video/BV1mY411K7PJ/ https://www.bilibili.com/video/BV1W3411g79S/ ...
AtCoder Beginner Contest 174 题解 AtCoder Beginner Contest 174 题解C Repsept 知识点:取模对加法和乘法封闭,所以暴力到2×1062\times 10^62×106,一边取模一边特判即可。D - Alter Altar 最终肯定是RRR全在左边,简单证明:假设最终RRR左边的某个位置存在WWW,则该位置右边只能是WWW,然后就是子问题了...
AtCoder Beginner Contest 193 部分题解 E - Oversleeping 求是否存在\(t\)满足\(t=t_1(mod (2X+2Y)) and t=t_2(mod (P+Q))\) 注意到\(Q\)和\(Y\)非常小,直接枚举套个\(exCRT\)就行了(虽然赛场上没看出来,\(exCRT\)也忘了记得快速乘...
·AtCoder Beginner Contest (ABC) 这是最频繁且最简单的入门赛,通常情况下每月至少举行2次。2019年4月27日(含)之前,每场比赛共4题,时长100分钟,满分1000分且Rating超过1199的选手不计Rating值。自2019年5月19日起改版升级为6道题目,时长不变,满分2100分且Rating值超过1999的选手不计Rating值。改版之后比赛质量...