本题单收录了 ABC Contest 比赛中的一些语法相关的题目,可用于进行语法过关的自测。

Login to join training plan

基础内容

数据的运算

程序的选择执行

程序的重复执行

阶段训练(一)

一维数组

字符与字符串

阶段训练(二)

二维数组

函数与结构体

阶段训练(三)

难度

C++ 语法难度,大致为 GESP 1∼4 级难度,可用于语法过关自测。

Section 1. 数据的运算

Open

Problem Tried AC Difficulty
ABC231A   [ABC231A] 水压(Water Pressure) 11 5 1
ABC211A   [ABC211A] 血压(Blood Pressure) 11 6 1
A1020   [ABC226A] 四舍五入小数(Round decimals) 48 36 1
ABC254A   [ABC254A] 最后两位数字(Last Two Digits) 7 4 1
ABC274A   [ABC274A] 打击率(Batting Average) 1 1 1
ABC202A   [ABC202A] 三个骰子(Three Dice) 10 8 1
ABC207A   [ABC207A] 压制(Repression) 17 3 1
ABC209A   [ABC209A] 计数(Counting) 3 3 10
A1010   [ABC222A] 四位数字(Four Digits) 52 38 1
ABC235A   [ABC235A] 旋转(Rotate) 6 3 10
ABC258A   [ABC258A] 什么时候(When?) 3 2 10
ABC239A   [ABC239A] 地平线(Horizon) 3 1 10
ABC269A   [ABC269A] 无论如何都是小高(Anyway Takahashi) 1 1 10

Section 2. 程序的选择执行

Open

Problem Tried AC Difficulty
ABC203A   [ABC203A] 扔骰子(Chinchirorin) 2 2 10
ABC212A   [ABC212A] 合金(Alloy) 12 5 9
ABC334A   [ABC334A] 圣诞礼物(Christmas Present) 13 6 8
A1070   [ABC245A] 早上好(Good morning) 62 19 1
A1077A   [ABC201A] 微小等差数列(Tiny Arithmetic Sequence) 25 10 1
A1045   [ABC204A] 石头剪刀布(Rock-paper-scissors) 41 29 1
ABC206A   [ABC206A] 最大购买(Maxi-Buying) 12 3 9
ABC208A   [ABC208A] 滚动骰子(Rolling Dice) 14 3 9
ABC219A   [ABC219A] AtCoder 测验 2(AtCoder Quiz 2) 4 3 10
ABC223A   [ABC223A] 精确价格(Exact Price) 10 3 10
A1083   [ABC228A] 开和关( On and Off) 51 12 1
ABC230A   [ABC230A] AtCoder 测验 3(AtCoder Quiz 3) 2 1 10
A1049   [ABC233A] 10 元邮票(10yen Stamp) 82 26 1
A1071A   [ABC250A] 相邻方格(Adjacent Squares) 29 12 1
A1074A   [ABC253A] 中位数?(Median?) 35 16 1
ABC262A   [ABC262A] 世界杯(World Cup) 10 4 9
A1037   [ABC305A] 水站(Water Station) 52 28 1
A1072A   [ABC331A] 明天(Tomorrow) 47 14 1
ABC348A   [ABC348A] 点球大战(Penalty Kick) 1 1 10
ABC355A   [ABC355A] 谁吃了蛋糕?(Who Ate the Cake?) 12 3 9
A1084   [ABC240A] 边检查器(Edge Checker) 25 11 1
ABC243A   [ABC243A] 洗发水(Shampoo) 3 2 10
ABC214A   [ABC214A] 新一代ABC(New Generation ABC) 5 3 10
ABC199A   [ABC199A] 平方不等式(Square Inequality) 1 1 10

Section 3. 程序的重复执行

Open

Problem Tried AC Difficulty
A1102A   [ABC204B] 坚果(Nuts) 6 5 1
A1111A   [ABC222B] 不及格成绩(Failing Grade) 7 4 10
ABC206B   [ABC206B] 存钱(Savings) 9 7 9
A1115A   [ABC235B] 攀爬的小高(Climbing Takahashi) 16 5 1
ABC272A   [ABC272A] 整数求和(Integer Sum) 1 1 10
A1105   [ABC209B] 你能全部买下吗?(Can you buy them all?) 12 6 1
A1092   [ABC215B] 对数(log2(N)) 24 6 1
ABC256A   [ABC256A] 2 的 N 次方(2^N) 1 1 10
A1106   [ABC317A] 药水(Potions) 19 10 1
A1126   [ABC327B] A的A次方(A^A) 7 2 1
ABC332A   [ABC332A] 在线购物(Online Shopping) 6 3 10
A1119   [ABC332B] 玻璃杯和马克杯(Glass and Mug) 8 3 1
ABC333A   [ABC333A] 三个三(Three Threes) 2 2 10
ABC337A   [ABC337A] 记分板(Scoreboard) 8 2 10
ABC349A   [ABC349A] 零和游戏(Zero Sum Game) 1 1 10
A1118A   [ABC351A] 第九局下半(The bottom of the ninth) 7 5 1
A1109A   [ABC353A] 建筑物(Buildings) 31 7 1
A1121A   [ABC357A] 消毒双手(Sanitize Hands) 12 6 1
ABC275A   [ABC275A] 找到高桥(Find Takahashi) 1 1 10
ABC248B   [ABC248B] 史莱姆(Slimes) 1 1 10

Section 4. 阶段训练(一)

Open

Problem Tried AC Difficulty
ABC216A   [ABC216A] 带符号的难度(Signed Difficulty) 1 1 10
ABC238A   [ABC238A] 指数还是平方(Exponential or Quadratic) 22 4 9
A1115B   [ABC213B] 安慰奖(Booby Prize) 21 5 1
ABC239B   [ABC239B] 整数除法(Integer Division) 7 1 10
ABC261A   [ABC261A] 交集(Intersection) 1 1 10
ABC207B   [ABC207B] 水合物(Hydrate) 4 1 10
ABC210A   [ABC210A] 卷心菜(Cabbages) 1 1 10
ABC205C   [ABC205C] 幂运算比较(POW) 1 1 5
ABC237A   [ABC237A] 不溢出(Not Overflow) 1 1 1
ABC345B   [ABC345B] 整数除法返回值(Integer Division Returns) 1 1 1
ABC255C   [ABC255C] ±1 操作(±1 Operation 1) 1 1 3
A1044A   [ABC259A] 成长记录(Growth Record) 26 13 1
ABC265A   [ABC265A] 苹果(Apple) 1 1 10
ABC333C   [ABC333C] 循环整数三重奏(Repunit Trio) 1 1 5
ABC352A   [ABC352A] AtCoder 线路(AtCoder Line) 1 1 1
A1073A   [ABC270B] 锤子(Hammer) 36 12 3
A1152   [ABC188B] 正交性(Orthogonality) 12 4 1
A1127A   [ABC190B] 魔法 3(Magic 3) 36 8 1
A1112A   [ABC189B] 醉酒者(Alcoholic) 5 2 1
A1082   [ABC260A] 独特的字母(A Unique Letter) 17 6 1

Section 5. 一维数组

Open

Problem Tried AC Difficulty
A1155   [ABC344B] 分隔符(Delimiter) 5 3 1
A1162   [ABC263B] 祖先(Ancestor) 3 2 1
A1368   [ABC202C] 编造(Made Up) 4 3 3
ABC217C   [ABC217C] 排列的逆(Inverse of Permutation) 1 1 3
A1183   [ABC228B] 小高的秘密(Takahashi's Secret) 1 1 3
A1166   [ABC256B] 击球手(Batters) 2 1 3
A1172   [ABC257B] 一维棋子(1D Pawn) 3 1 3
ABC236B   [ABC236B] 谁不见了?(Who is missing?) 1 1 1
ABC250C   [ABC250C] 相邻交换(Adjacent Swaps) 4 1 3
ABC252B   [ABC252B] 小高的失败(Takahashi's Failure) 1 1 1
A1156   [ABC243B] 击中与擦边(Hit and Blow) 13 5 1
A1178   [ABC245B] Mex(Mex) 1 1 1
A1188   [ABC265B] 探索(Explore) 3 1 3
A1173   [ABC317B] 缺失的数字(MissingNo.) 1 1 1
ABC350B   [ABC350B] 牙医小李(Dentist Aoki) 1 1 1
ABC356A   [ABC356A] 子段反转(Subsegment Reverse) 1 1 1
A1219   [ABC356B] 营养素(Nutrients) 1 1 1
A1163   [ABC241A] 数字机器(Digit Machine) 1 1 1
 
Enrollees
15
Created By