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 <cstdio>
#include <cstring>
int main() {
	int n, i=0;
	char str[103];
	scanf("%d", &n);
	getchar();
	while(scanf("%s", str)) {
		int len = strlen(str);
		for(int i=0; i<len; i++) {
			char y = str[i];
			i++;
			if(i == len) break;
			char z = str[i];
			char x = y-'a'+z-'a'-n;
			if(x >= 26) x %= 26;
			while(x<0) {
				x+=26;
			}
			printf("%c", x+'a');
		}
		printf(" ");
	}
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... |