Hi - I've tried the available Test Cases - the outputs seem to be correct. But still I got wrong answer...
# include <stdio.h>
# include <string.h>
long a[6];
long bin1[4];
long bin2[4];
long bin3[4];
char *ch[6] = { "BCG", "BGC", "CBG", "CGB", "GBC", "GCB" };
int main()
{
long min, index ...