Submission #9199

# Submission time Handle Problem Language Result Execution time Memory
9199 2014-09-28T04:34:50 Z yukariko Veni, vidi, vici (kriii2_V) C
0 / 4
0 ms 1088 KB
#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
1 Correct 0 ms 1088 KB Output is correct
2 Correct 0 ms 1088 KB Output is correct
3 Correct 0 ms 1088 KB Output is correct
4 Correct 0 ms 1088 KB Output is correct
5 Correct 0 ms 1088 KB Output is correct
6 Correct 0 ms 1088 KB Output is correct
7 Incorrect 0 ms 1088 KB Output isn't correct
8 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -