Submission #9218

#TimeUsernameProblemLanguageResultExecution timeMemory
9218yukarikoVeni, vidi, vici (kriii2_V)C11
4 / 4
0 ms1088 KiB
#include <stdio.h> #include <string.h> int main(){ unsigned int i,n; char word[128]; scanf("%d ",&n); while(scanf("%s ",word) != EOF){ for(i=0;i+1<strlen(word);i+=2){ printf("%c",(word[i]-'a'+word[i+1]-'a'+26-n)%26+'a'); } printf(" "); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...