area of triangle by murky-satyr

System.in.eachLine{r=1
t=it.split()*.toLong()+0
t.sum{r*=t.sum(-2*it)}
printf'%.0f\n',r**0.5/4}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page