Submission #9210

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