一道水题

P1914 小书童——凯撒密码

Drug_KING @ 2017-10-02 20:18:45

var s:string;
n,i:longint;
begin
readln(n);
readln(s);
for i:=1 to length(s) do
s[i]:=chr(ord(s[i])+n);
for i:=1 to length(s) do
write(s[i]);
end.

by Drug_KING @ 2017-10-02 20:21:08

注意,注意

此题不可复制

有意想不到的后果


by λᴉʍ @ 2017-10-02 20:21:37

naive


|