第十届蓝桥杯大赛个人赛省赛(软件类)\C语言B组--2019年
//年号字串 #include<stdio.h> int main(){ int n; scanf("%d",&n); char a[] = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; printf("%c%c%c",a[(n/26/26)%26-1],a[(n/26)%26-1],a[n%26-1]); return 0; }