A:Seismic magnitude scales 題意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 題意: 定義一種操作為交換兩個字符串相鄰的字符,問 ...
比賽鏈接:https: atcoder.jp contests abc tasks A Seismic magnitude scales 題意 給出兩個正整數 a, b ,計算 a b 。 le b le a le 題解 a b a b 。 代碼 B typo 題意 給出兩個字符串 s, t ,判斷能否交換 s 中至多一對相鄰字符,使得 s 與 t 相同。 le s t le 題解 枚舉交換的位置 ...
2021-10-08 17:00 0 100 推薦指數:
A:Seismic magnitude scales 題意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 題意: 定義一種操作為交換兩個字符串相鄰的字符,問 ...
目錄 A - Seismic magnitude scales B - typo C - Select Mul D - Online games E - LEQ ...
比賽鏈接:https://atcoder.jp/contests/abc216/tasks A - Signed Difficulty 題意 給出一個 x.y 形式的實數,按以下格式轉換: \(0 \le y \le 2\) ,輸出 x- \(3 \le y \le ...
比賽鏈接:https://atcoder.jp/contests/abc219/tasks A - AtCoder Quiz 2 題意 給出一個分數 \(x\) ,共分為四級: \(0 \le x \lt 40\) \(40 \le x \lt 70\) \(70 \le x ...
比賽鏈接:https://atcoder.jp/contests/abc167/tasks A - Registration 題意 字符串 t 比字符串 s 長 1,除此外其余部分是否與 s 相同。 代碼 B - Easy Linear Programming 題意 ...
傳送門 A - Sheep and Wolves A.cpp B - Battle B.cpp C - gacha ...
比賽鏈接:https://atcoder.jp/contests/abc160/tasks AtCoder Beginner Contest 160 A - Coffee View Code B - Golden Coins ...
傳送門 A - Circle Pond A.cpp B - Homework B.cpp C - management ...