A:Seismic magnitude scales 題意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 題意: 定義一種操作為交換兩個字符串相鄰的字符,問是否能做到至多進行一次操作使得兩個字符串相等。 \(len\leq1e5\) 。 思路 ...
目錄 A Seismic magnitude scales B typo C Select Mul D Online games E LEQ 發揮比較好的一場,就來搓篇題解。 F 沒時間寫了,最后只是口胡了一下 還不是很對,改完后放上 。 比賽傳送。 A Seismic magnitude scales 給你 A,B ,表示兩場地震的強度。已知強度每 所產生的能量就是原來的 倍。求 A 地震產生 ...
2021-10-03 08:20 5 180 推薦指數:
A:Seismic magnitude scales 題意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 題意: 定義一種操作為交換兩個字符串相鄰的字符,問是否能做到至多進行一次操作使得兩個字符串相等。 \(len\leq1e5\) 。 思路 ...
比賽鏈接:https://atcoder.jp/contests/abc221/tasks A - Seismic magnitude scales 題意 給出兩個正整數 \(a, b\) ,計算 \(32^{a - b}\) 。 \(3 \le b \le a \le ...
A - I Scream B - Job Assignment C - Squared Error 經典套路:拆平方和變成\(\sum\limits_{i = 2}^{n}\sum\li ...
AtCoder Beginner Contest 155 - D - Pairs ,-E - Payment 題解 D - Pairs We have NN integers A1,A2,...,ANA1,A2,...,AN. There are N(N−1)2N(N−1)2 ways ...
人生第一場 AtCoder,紀念一下 話說年后的 AtCoder 比賽怎么這么少啊(大霧 AtCoder Beginner Contest 154 題解 A - Remaining Balls We have A balls with the string S written ...
AtCoder Beginner Contest 177 題解 目錄 AtCoder Beginner Contest 177 題解 A - Don't be late B - Substring C - Sum of product ...
AtCoder Beginner Contest 216 個人題解 比賽鏈接:AtCoder Beginner Contest 216 每篇一圖 A題 Signed Difficulty 題目大意: 給出一個小數,根據小數部分改寫 \(+,-\) 思路解析: 直接判斷即可 AC ...
AtCoder Beginner Contest 173 題解 目錄 AtCoder Beginner Contest 173 題解 A - Payment B - Judge Status Summary C - H and V ...