Docoding OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
2898: 蓝桥杯训练-年号字符串
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:32
Solved:30
Submit
Submit Record
Statistics
ShowOff!
Description
【题目】
字母 A 对应数字 1,B 对应 2,以此类推,用 Z 对应 26。对于 27 以上的数字,用两位或更长位的字符串来对应,例如 AA 对应 27,AB 对 应 28,AZ 对应 52,LQ 对应 329。 请问 2021 对应的字符串是什么?
Sample Input
Copy
2021
Sample Output
Copy
BYS
Source/Category
蓝桥杯
数的进制
强
白银
Submit
Submit Record
Statistics
ShowOff!