Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
decode
#include <iostream> #include <string> using namespace std; string str,key="aaaaaaaaaaaaaaaaaaaa"; int main() { while(cin>>str){ for(int i=0; i<str.length(); i++) { str[i]-=key[i]-'a'+1; if(str[i]<'a') str[i]=str[i]+'z'-'a'; } cout << str<<" "; } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Meeting_Leandro
ADVENTURE CODE CSCI40
Area of a triangle using templete
krack
runtime template mode processor
27
reverse function
Sum of digits of number
Graph Theory
QuickSort
Please log in to post a comment.