Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
code
#include <iostream> #include <string> using namespace std; int main() { string str,key="aaaaaaaaaaaaaaaaaaaa"; cin >> str; cin>> key; for(int i=0; i<str.length(); i++) { str[i]+=key[i]-'a'; if(str[i]>'z') str[i]='a'+str[i]-'z'; } cout << str; }
run
|
edit
|
history
|
help
0
typeid
Deque EvenOdd
Problema1
DailyGroceryHisto
ProdPriceEnum
Microsoft - # of fragments (semi-optimised)
Heap sort baaaad
MAC
Summation Of Primes
cast operator