EQUINOX - Editorial

Please help me with my code. I think the logic is correct but it is still showing wrong answer.

#include <stdio.h>
#include <string.h>

int main(void) {
// your code goes here
int T, N, A, B, sarth, anu, flag;
char s[100];
char c[]= “EQUINOX”; // EQUINOX = 7
scanf("%d", &T);
for(int i=0 ; i<T ; i++)
{
scanf("%d %d %d", &N, &A, &B);
sarth=0;
anu=0;
for(int j=0 ; j<N ; j++)
{
scanf("%s", s);
flag=0;
for(int k=0 ; k<7 ; k++)
{
if(s[0]==c[k])
{
flag=1;
break;
}
/if(strchr(s, c)==NULL) anu = anu + B;
else sarth = sarth + A;
/
}
if(flag==0) anu = anu + B;
else sarth = sarth + A;

     }
     
     if(sarth>anu)  printf("SARTHAK\n");
     else if(anu>sarth)  printf("ANURADHA\n");
     else printf("DRAW\n");

}
return 0;

}