AtCoder ABC 362 赵鹤 初为高校青椒,再为算法码农 2 人赞同了该文章 目录 收起 C题:零和(Sum = 0) 问题: 数据规模及输入输出: 分析: 整体算法: 参考代码: D题:最短路3(Shortest Path 3) 问题: 数据规模及输入输出: 分析: 整体算法(略微修改的Dijkstra算法): 参考代码: E题:等差子序列计数(Count...
Atcoder ABC #362 Solution Discussion (finished) Allaryanc403streams
Tasks - Toyota Programming Contest 2024#7(AtCoder Beginner Contest 362)atcoder.jp/contests/abc362/tasks A题: 弱智题,考察你会不会用if void solve(){ cin>>n>>x>>y; cin>>s; if(s=="Red") cout<<min(x,y)<<endl; if(s=="Green") cout<<min(n,y)<<endl; if(s=="Blue") co...
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-07-06 5.AtCoder Beginner Contest 362 补题记录(A~E,G)2024-07-136.At...
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...
ABC 362-F题意:给定一棵树,需要你输出 ⌊n/2⌋ 个点对,使得这些点对的距离之和最大。解法:考场上想到重心,如果说一棵子树和另一棵子树之间的点能够刚刚好配对,那么无论配对方法是什么,对答案的贡献是不变的,而且是最优的。然后我就开始尝试用各种方法合并子树,最后都WA掉了。发现我们只要把每个子树内...
皆さん、こんにちは、kazuppaです。この度、(7/14)、ABC362において入緑しました!!そこで、今回は私が灰色コーダー・茶色コーダーの頃にしたことを紹介したいと思います!(ベタな記事ですがお許しください)そもそも競技プログラミングとはなにか...
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...
362 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...
AtCoder (ABC 362)比赛将于本周六(7月13日)晚20:00进行,同学们参与比赛后可在本周日晚19:00进入到直播间观看题目解析(本次直播老师为来自清华大学的吴老师(NOI 2021银牌))。 直播间地址(点击“阅读原文”也可查看):https://live.bilibili.com/21371611?live_from=84002 ...