#include<stdio.h>void main(){int h,w;for(;scanf("%d %d",&h,&w)==2;)printf("%.2f\n",1e4*w/h/h);}
150 50 160 55 180 120 150 225
22.22 21.48 37.04 100.00
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!