#include <stdio.h>
int test_t(int Z, int W, int L)
{
int i = 0;
int counter2 = 0;
int count[sizeof(int) * 7] = {0};
while(!(Z = W = L))
{
for(i = 7; i>0; i--)
{
switch(count[i])
{
case 0:
Z += i;
break;
case 1:
L += i;
break;
case 2:
W += i;
break;
default:
return 1;
}
if(!(Z = L = W))
{
counter2 += 1;
if(counter2 != 21)
{
count[counter2 / 3] += counter2 % 3;
}
}else{
count[counter2 / 3] -= counter2 %3;
}
}
}
return count[1];
}
int main(int argc, char *argv[])
{
int num_kids =
2020-02-10 21:59:30