#include using namespace std; typedef long long ll; using ld=long double; ld A,B,C; #define WHATS(var) //cout<<__LINE__<<' '<<#var<<"="<>memo(21,vector(15,-2)); ld solve(int T,int X){ if(memo[T][X]<-1){ if(T==0){ memo[T][X]=X; }else if(X==0){ memo[T][X]=0; }else{ memo[T][X]=0; for(int i=0;i<(1<ns; int num=0; for(int j=0;j>age>>A>>B>>C; A/=100; B/=100; C/=100; cout<