Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
decode
#include <iostream> #include <string> using namespace std; int main() { string str,key="aaaaaaaaaaaaaaaaaaaa"; 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
C++ Array printing
Camel case
List add v2
Graph Theory
MoveBubble
test
TREAP RANGE QUERY (but it's runtime is not that good)
RandomMessage
gcc set_terminate
use of assert to check a particular situation! (throws error)