>>496-498
srand(time(NULL));
if (rand()%3 == 0)
A += 1;
/*
else
A += 0;
*/
こういう話?