|
|
back to boardWhy WA#16 ? Posted by =NRZ= 27 Apr 2011 00:28 l/=100; h/=100; w/=60; if (l/2 >= h) cout<<"butter"<<endl; else { h -= l/2; t = sqrt(2*h/g); ob = t * w * 360;
if (ob >= 90 && ob <= 270 ) cout<<"bread"<<endl; else cout<<"butter"<<endl;
} Edited by author 29.04.2011 01:12 |
|
|