#include int main() { int kase,n,i; float avg, res,sum,cnt; float arr[1005]; scanf("%d", &kase); char c = '%'; while(kase--) { avg = 0; sum = 0; cnt = 0; scanf("%d", &n); for(i=0; iavg) cnt++; res = ((cnt/n)*100); printf("%.3f%c\n", res, c); } return 0; }