NZEC error in c

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 :slight_smile:
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;

}

This code is for the ongoing February Challenge. Please do not discuss about it till the contest is over.I would suggest you try one or two sample problems and then come back to this after you get the basics. Few Hints:

  1. Declare your main function as int main()

  2. You need to take input normally using scanf.Input is not what is mentioned in the sample cases. There are more input cases that are given to your code when you submit it.

refer to this FAQ for information on errors.

//