Submission #18560

# Submission time Handle Problem Language Result Execution time Memory
18560 2016-02-09T05:10:17 Z eaststar Veni, vidi, vici (kriii2_V) C++14
0 / 4
837 ms 1084 KB
#include <stdio.h>
#include <string.h>
char a[110];
int main(){
    int i,n,m;
    scanf("%d",&n);
    while(scanf("%s",a)){
        m=strlen(a);
        for(i=1;i<m;i+=2)printf("%c",97+(a[i-1]+a[i]-194-n)%26);
        printf(" ");
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Runtime error 837 ms 1084 KB Program hung waiting for input
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -