AtCoder ABC 367题解 前言本题解部分思路来自于网络,仅供参考。A - Shout Everyday题目大意给定Takahashi 每天的睡觉时间和起床时间,求 Takahashi 在 AA 时是睡着的还是清醒的。解题思路根据题意模拟即可。code#include <bits/stdc++.h> using namespace std; ...
[CP / AtCoder] abc367 D - Pedometer 以后必提前 register……昨天 abc 来晚了 20 分钟,被迫 unrated,没想到却拿到了自己的历史最好成绩 2535 名。 D - Pedometer 最近发现 ABC 的 D 有好多 counting 的题目——我最喜欢这种题目了! 这类题目的特征是,如果暴力统计结果的话,时间复杂度一般是O(n2)或更...
We will hold AtCoder Beginner Contest 367. Contest URL: https://atcoder.jp/contests/abc367 Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20240817T2100&p1=248 Duration: 100 minutes Writer: physics0523, toam, ynymxiaolongbao Tester: yuto1115, cn449 Rated range: ~ ...
AtCoder (ABC 367)比赛将于本周六(8月17日)晚20:00进行,同学们参与比赛后可在本周日晚(8月18日)19:00进入继续到直播间观看题目解析。 本次比赛讲解老师:北大图灵 疏老师(NOI2021银牌) 直播间地址(点击“阅读原文”也可查看): https://live.bilibili.com/21371611?live_from=84002 ABC366比赛真题讲解 题目...
abc293 d,并查集,不在同一集合里ans2 --, 在同一集合里ans1 ++ e,分治/矩阵快速幂。分治:类似于(1+a^n/2)(1+a+...+a^n/2)的形式。 用公式法的话因为不一定有逆元,会错。 f,有两种思考方式: 枚举base,check01 枚举01,check 枚举base大小前一种是O(n)的,后一种如果位数少,配合二分,复杂...
ABC358 A ~ E A - Welcome to AtCoder Land 检查一下S、T字符串是否分别是AtCoder与Land即可 #include<bits/stdc++.h> using namespace std; string s1 , s2; int main(){ cin >> s1 >…阅读全文 赞同 添加评论 分享收藏 ...
ABC366で初めて青perfを出せました!! D問題が詰まりそうだったのでE問題を先に解いて戦略勝ちしました。 ここで遠いと思っていた水色が一気に近づきました。 そしてついにABC367で5完して入水しました!!!よっしゃーーー https://x
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...
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.md Breadcrumbs atcoder_codes /ABC /300 / 360/ Directo...
A - Rearranging ABC#include <bits/stdc++.h> using ll = long long; int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); std::strin… 阅读全文 AtCoder Beginner Contest 376 A - F 阅读全文 AtCoder Beginner Contest 375 A - G ...