if(3/10 <= rand()) a();
else if(8/10 <= rand()) b();
else c();