|
|
back to boardWhat's wrong? Posted by Make_ 4 Nov 2011 04:32 #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int c,m=5,b='a'; int a,k=0; while((c=getchar())!=-1) { a=(26+(c-b)-m)%26; printf("%c",a+b); m=c-b; } return 0; } i've got an WA#1... Edited by author 04.11.2011 21:08 |
|
|