.net做的网站打开速度缓慢,怎么做网络乞丐网站,网站开发的初始密码,个人博客网站需求分析年号字串 - 蓝桥云课 (lanqiao.cn)
题目描述 我们发现每个字母都与26紧密相关#xff0c;其%26的位置就是最后一个字母#xff0c;由于最开始将0做为了1故在写答案时需要注意细节问题
#includebits/stdc.h
using namespace std;
char s[] ABCDEFGHIJKLMNOPQ…年号字串 - 蓝桥云课 (lanqiao.cn)
题目描述 我们发现每个字母都与26紧密相关其%26的位置就是最后一个字母由于最开始将0做为了1故在写答案时需要注意细节问题
#includebits/stdc.h
using namespace std;
char s[] ABCDEFGHIJKLMNOPQRSTUVWXYZ;
char a[20000];
int cnt;
int main()
{int n 2019;while(n){a[ cnt] s[n % 26 - 1];n / 26;}for(int i cnt; i 1; i --)cout a[i];return 0;
}