上周去玩了(逃 A - Piling Up (abc363 A) 题目大意 给定分数,问晋级还差多少分。分别到100,200,300100,200,300分能晋级。 解题思路 找到第一个大于当前分数的,其差即为答案。 神奇的代码 #include<bits/stdc++.h> usingnamespacestd; usingLL =longlong; intmain(void){ ios::sync_with_stdio(false)...
ABC363 C - Avoid K Palindrome 2题目传送门分析统计字母出现次数搜索方案数即可代码cpp #include <iostream> #include <string> #include <algorithm> using namespace std; string str,Str; int c[26],n,k,ans; void dfs(int dep){ if (dep==n){ for (int i=0;i<=n-k;++i){ int cnt=0; ...
We will hold AtCoder Beginner Contest 363.Contest URL: https://atcoder.jp/contests/abc363Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20240720T2100&p1=248Duration: 100 minutesWriter: Nyaan, math957963, physics0523Tester: MtSaka, Aotsuki...
AtCoder Beginner Contest 291 | ABC 吊打萌新珍贵录像 | A~G 题解 121 -- 2:34:14 App yukicoder contest 435 | 完成度 [5 / 7] 274 -- 1:56:52 App AtCoder Beginner Contest 363 | 完成度 [6 / 7] 129 -- 2:34:36 App Codeforces Round 955 (Div. 2) | 完成度 [4 / 6] 354...
ABC340 A.cpp B.cpp C.cpp D.cpp E.cpp ABC341 ABC342 ABC343 ABC344 ABC345 ABC346 ABC347 ABC347_20240330 ABC348 ABC349 ABC350 ABC351 ABC352 ABC353 ABC354 ABC355 ABC356 ABC357 ABC358 ABC359 ABC360 ABC360_2 ABC361 ABC362 ABC363 ABC364 ABC365 ABC366 ABC367 ABC368 ABC369 ABC370_20...
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 ABC_別解 AGC AHC ARC EDPC OTHERS memo 競プロ典型90題 精選100問 comfused.md readme.mdBreadcrumbs atcoder_codes /ABC /300...
前言:回归一下abc,这场感觉算是比较edu的一场,简单写个题解 比赛链接:A - Count Takahashi#include<bits/stdc++.h>usingnamespa… AtCoder Beginner Contest 329 (A - F) Raven03 计科 算竞 考研 A - Spread#include<bits/stdc++.h>usingnamespacestd;voidsolve(){strings;cin… ...
Tasks - AtCoder Beginner Contest 177atcoder.jp/contests/abc177/tasks B: 题意: 给定两个字符串S和T,T最长不超过S的长度,可以改变S的字符使得T成为S的子串,问最小的修改个数。 思路: 最长是1000,可以brute force,怎么暴力求解呢?竟然没有暴力的思路!
AtCoder Beginner Contest 363 补题记录(A~F) 合集- ATcoder 比赛合集(13) 1.ATcoder ABC 357 补题记录(A~F)2024-06-082.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...
感觉这场 ABC 前面都太水了 #include<bits/stdc++.h> using namespace std; namespace hdk{ namespace fastio{ void rule(bool setting=false){std::ios::sync_with_stdio(setting);} inline int read(){int x=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-'){f=-1;}ch=...