0__o @ 2017-08-09 09:26:19
源代码:
var
n,i:longint;
s:string;
begin
readln(n); readln(s);
for i:=1 to length(s) do
begin
s[i]:=chr(ord(s[i])+n);
if ((ord(s[i])>90)and(ord(s[i])<97))or(ord(s[i])>122) then s[i]:=chr(ord(s[i])-26);
end;
writeln(s);
end.
评测结果:
by xfydemx @ 2017-08-09 09:44:36
我也是,应该是系统问题
by xfydemx @ 2017-08-09 09:45:21
你把题解复制过去提交,都是uke
by 0__o @ 2017-08-09 09:46:08
@xfydemx 你有没有试试把题解中的代码放上去?
by 0__o @ 2017-08-09 09:46:36
@xfydemx 啊,这样?那就是系统问题!!
by 0__o @ 2017-08-09 09:47:53
@xfydemx 评测机坏了,555
by 0__o @ 2017-08-09 10:40:44
by 0__o @ 2017-08-09 13:17:16