原文:AtCoder Beginner Contest 221【A - G】

比賽鏈接: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 推薦指數:

查看詳情

AtCoder Beginner Contest 221 題解

A:Seismic magnitude scales 題意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 題意: 定義一種操作為交換兩個字符串相鄰的字符,問 ...

Tue Oct 05 04:31:00 CST 2021 5 115
AtCoder Beginner Contest 216 【A - G

比賽鏈接:https://atcoder.jp/contests/abc216/tasks A - Signed Difficulty 題意 給出一個 x.y 形式的實數,按以下格式轉換: \(0 \le y \le 2\) ,輸出 x- \(3 \le y \le ...

Tue Aug 31 07:30:00 CST 2021 2 74
AtCoder Beginner Contest 167

比賽鏈接:https://atcoder.jp/contests/abc167/tasks A - Registration 題意 字符串 t 比字符串 s 長 1,除此外其余部分是否與 s 相同。 代碼 B - Easy Linear Programming 題意 ...

Mon May 11 06:30:00 CST 2020 6 297
AtCoder Beginner Contest 160

比賽鏈接:https://atcoder.jp/contests/abc160/tasks AtCoder Beginner Contest 160 A - Coffee View Code B - Golden Coins ...

Tue Apr 07 04:31:00 CST 2020 13 217
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM