Submission #9411

#TimeUsernameProblemLanguageResultExecution timeMemory
9411pichuliaVeni, vidi, vici (kriii2_V)C++98
4 / 4
0 ms1088 KiB
#include<stdio.h> int key; char buf[999]; int main() { scanf("%d",&key); while(scanf("%s",buf)>0) { int i, j; for(i=0;buf[i];i++) { int p,q; p = buf[i]; q = buf[i+1]; if(q==0) break; int r = (p-'a' + q-'a' + 26*26-key)%26; printf("%c",r+'a'); i++; } printf(" "); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...