#include using namespace std; #define rep(i,x,y) for(int i=x;i>P>>Q>>A; double p=1+P/100,q=1+Q/100; int cnt=0; if(A==0){ if(P