2 solutions
- 1
Information
- ID
- 870
- Time
- 1000ms
- Memory
- 512MiB
- Difficulty
- 1
- Tags
- # Submissions
- 63
- Accepted
- 37
- Uploaded By
#include #include 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; }
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.