Run Code
|
API
|
Code Wall
|
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
LRUCache
Policy based smart pointer
Prime calculator using bool
czekolada
on_off
C++ User Input #1
CPP - Arrays - Ex.2 - Solution
Translating binary to decimal numbers
substring search
5345