Compilation error

In function ‘_start’: (.text+0x18):
undefined reference to ‘main’
collect2: error: ld returned 1 exit

I am getting this compilation error and I have no idea where my code is wrong…Please help…I cant post the code 'cause NOV contest is going on…

It means that your program does not define a main function

Apparently none your files define a
function with the signature

int main ( )
return 0;


compiler says it can’t find the main function…

i solved it…i was assigning an unsigned long long to int variable without use casting…thanks