Submission #15163

#TimeUsernameProblemLanguageResultExecution timeMemory
15163gs14004Veni, vidi, vici (kriii2_V)C++14
0 / 4
0 ms1084 KiB
#include <cstdio> int main(){ int n; scanf("%d",&n); n = 26 - n; char str[105]; while(~scanf("%s",str)){ for(int j=0; str[j+1]; j+=2){ int p = str[j] + str[j+1] + n - 'a' - 'a'; p %= 26; putchar(p + 'a'); } putchar(' '); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...