>>904
map<int,pair<int,int>> word;
if("ABC" is true) word["ABC"].first++; else .second++;

double r = (double)rand()/MAX_RAND;
if(r < true ratio in word["ABC"]) printf("%s it true\n", "ABC");