/* NAME: LUCA Ionut SCHOOL: NCSC "Grigore Moisil" GRADE: 9 DIVISION: JR5 */ #include using namespace std; int main() { ifstream fin("draft.in"); ofstream fout("draft.out"); int x,ns=0,i,s=0,ma,ma2,mamin,mamax; long double y,as,smin=0,smax=0,max=0,min=10000000; for(i=1;i<=5;i++) { fin>>x>>y; y=y*1000000; as=y/x; if(as>10000000) ns++; s+=as; if(as/16max) max=as/18; smax+=as/18; } ma=s/5; mamin=smin/5; mamax=smax/5; fout<