This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#include <string.h>
int main(){
unsigned int i,n;
char word[102];
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'-n)%26+'a');
}
printf(" ");
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |