#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main()
{
double r, h, v;
v = M_PI * r * r * h;
printf("円柱の体積は %.3f です.\n", v
); return 0;
}
I2RlZmluZSBfQ1JUX1NFQ1VSRV9OT19XQVJOSU5HUwojZGVmaW5lIF9VU0VfTUFUSF9ERUZJTkVTCiNpbmNsdWRlIDxtYXRoLmg+CiNpbmNsdWRlIDxzdGRpby5oPgoKaW50IG1haW4oKQp7CiAgICAgICAgZG91YmxlIHIsIGgsIHY7CgogICAgICAgIHByaW50Zigi5bqV6Z2i44Gu5Y2K5b6E44Gu5YCk44KS5YWl5YqbIFxuIik7CiAgICAgICAgc2NhbmYoIiVsZiIsICZyKTsKICAgICAgICBwcmludGYoIumrmOOBleOBruWApOOCkuWFpeWKmyBcbiIpOwogICAgICAgIHNjYW5mKCIlbGYiLCAmaCk7CiAgICAgICAgdiA9IE1fUEkgKiByICogciAqIGg7CiAgICAgICAgcHJpbnRmKCLlhobmn7Hjga7kvZPnqY3jga/jgIAlLjNmIOOBp+OBme+8jlxuIiwgdik7CiAgICAgICAgcmV0dXJuIDA7Cn0K