lyhl @ 2021-06-14 18:06:55
#include<bits/stdc++.h>
using namespace std;
int n;
string s;
int main()
cin>>n>>s; ```cpp
#include<bits/stdc++.h>
using namespace std;
int n;
string s;
int main()
{
cin>>n>>s;
for(int i=0;i<s.size();i++)
{
cout<<char(s[i]+n);
}
return 0;
}
for(int i=0;i<s.size();i++)
{
cout<<char(s[i]+n);
}
return 0;
}
错哪了
by LittleJoe @ 2021-06-17 13:17:38
头文件呢?#include <string>