float f;main(T){for(;~scanf("%d",&T);)for(;T--;printf(f<0||(int)f!=f?"Invalid input\n":"%d\n",(int)((f-2)*180)))scanf("%f",&f);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page