I m actually new to codechef platform.i wrote a code on codeblocks in c language.it ran properly giving correct output.But when i ma submitting it on code chef it is telling me runtime error.Kindly help me anyone :) my code is :
//Codechef //elfedcc
include<stdio.h>
include<string.h>
include<stdlib.h>
include<stdlib.h>
//FUNCTION DELETED!!
//FUNCTION DELETED!!
void main() {
int i;
//scanf("%d\n",&i);
char *str="Codechef";
char *str1="elfedcc";
char *str2="abcd";
char *str3="xyz";
char *str4="cbda";
char *str5="abcd";
printf("%s\n",str);
printf("%s\n",str1);
printf("%s\n",str2);
printf("%s\n",str3);
printf("%s\n",str4);
printf("%s\n",str5);
int result;
result=com_alpha(str,str1);
printf("%d\n",result);
result=com_alpha(str2,str3);
printf("%d\n",result);
result=com_alpha(str4,str5);
printf("%d\n",result);
return 0;
}