Atcoder ABC 370题解 前言本题解部分思路来源于网络,仅供参考。A - Raise Both Hands题目大意如果SnuckSnuck 想吃章鱼烧则只举起左手,如果不想吃章鱼烧则只举起右手。如果同时举起或放下两只手则输出 Invalid。解题思路根据题意模拟即可。code#include <bits/stdc++.h> using namespace std; int main() { int...
AtCoder (ABC 371)比赛将于本周六(9月14日)晚20:00进行,同学们参与比赛后可在本周日晚 19:00进入继续到直播间观看题目解析。 本次比赛讲解老师:北京大学周老师(NOI2018 银牌) https://live.bilibili.com/21371611?live_from=84002 ABC370比赛真题讲解 题目列表: 题目地址:https://atcoder.jp/contests/abc3...
A - Raise Both Hands (abc370 A)题目大意给出Snuke举的左右手情况,如果只举左手,输出Yes,如果只举右手,输出No,否则输出Invalid。解题思路逐一判断即可。神奇的代码 #include <bits/stdc++.h> using namespace std; using LL = long long; int main(void) { ios::sync_with_stdio(false); cin.tie(0...
ABC371比赛真题讲解 题目列表: 题目地址:https://atcoder.jp/contests/abc370/tasks ABC371题解(文字版) ►A代码 参考代码 #include<bits/stdc++.h> intmain{charab,ac,bc;scanf("%c %c %c",&ab,&ac,&bc);if(ab != ac){puts("A");}elseif(ab==bc){puts("B");}else{puts("C");}ret...
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 >…阅读全文 赞同 添加评论 分享收藏 ...
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...
ABC350_E.py ABC350_F.py ABC350_G.py 351 352 353 354 355 356 357 358 359 360 361 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...
AtCoder Beginner Contest 370(ABCDEF题)视频讲解 A - Raise Both Hands Problem Statement Takahashi decided to make takoyaki (octopus balls) and serve it to Snuke. Takahashi instructed Snuke to raise only his left hand if he wants to eat takoyaki, and only his right hand otherwise. ...
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-065.AtCoder Beginner Contest 362 补题记录(A~E,G)2024-07-136.AtCoder...
..E 切了,但是在思考的时候还不够全面,二分不够熟练,对于细节的处理也没有搞好,导致 F 做得慢还没有在考场上调出来。ABC-371 F题意:在一个一维平面内有 n 个点,这些点每次可以向左移动一格或向右移动一格,但是移动完后不能有两个点重合。现在有 m 个操作,第 i 个操作要求将 x 移动至位置 k。问...