#include <stdio.h>
#define PI 3.14159265358979323846
double delta_cone(double r, double h) {
return (1.0 / 3.0) * PI * r * r * h;
}
int main() {
double radius, height;
double volume = delta_cone(radius, height);
printf("円錐の体積V: %.2f\n", volume
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNkZWZpbmUgUEkgMy4xNDE1OTI2NTM1ODk3OTMyMzg0NiAKCmRvdWJsZSBkZWx0YV9jb25lKGRvdWJsZSByLCBkb3VibGUgaCkgewogICAgcmV0dXJuICgxLjAgLyAzLjApICogUEkgKiByICogciAqIGg7IAp9CgppbnQgbWFpbigpIHsKICAgIGRvdWJsZSByYWRpdXMsIGhlaWdodDsKCiAgICBwcmludGYoIuWGhuOBruWNiuW+hCByIDogIik7CiAgICBzY2FuZigiJWxmIiwgJnJhZGl1cyk7CiAgICBwcmludGYoIuWGhumMkOOBrumrmOOBlSBoOiAiKTsKICAgIHNjYW5mKCIlbGYiLCAmaGVpZ2h0KTsKCiAgICBkb3VibGUgdm9sdW1lID0gZGVsdGFfY29uZShyYWRpdXMsIGhlaWdodCk7CgogICAgcHJpbnRmKCLlhobpjJDjga7kvZPnqY1WOiAlLjJmXG4iLCB2b2x1bWUpOwoJcmV0dXJuIDA7Cn0K