Submission #9181

#TimeUsernameProblemLanguageResultExecution timeMemory
9181lemonsqueezeVeni, vidi, vici (kriii2_V)C++98
4 / 4
0 ms1088 KiB
#include <stdio.h> char s[200]; int main () { int n; scanf ("%d", &n); while (scanf ("%s", &s)==1) { for (int i=0; s[i]; i+=2) { if (s[i+1]==0) break; printf ("%c", ((s[i]-'a' + s[i+1]-'a' - n + 26) % 26) + 'a'); } printf (" "); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...