'commit'
This commit is contained in:
11
TangDou/NanTi/NT02.cpp
Normal file
11
TangDou/NanTi/NT02.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
char s[60];
|
||||
scanf("%d %s", &n, s);
|
||||
for (int i = 0; s[i]; i++) putchar((s[i] - 'a' + n) % 26 + 'a');
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user