4点过不了

P1914 小书童——凯撒密码

nibuzhidaowoshishui @ 2021-07-25 11:31:12

80分求助


by 我送送送送 @ 2021-07-25 11:42:30

把原来代码的第十三行

a[i]='a'-1+n+'z'-a[i];

改成

a[i]='a'-1+n-'z'+a[i];

再加上cout<<a[i];

就能AC


by nibuzhidaowoshishui @ 2021-09-28 18:59:48

@我送送送送 谢谢 ,这道题被我冷漠好久了,现在对了


|