#include // scanfとprintfを使うおまじない #include int main(int argc, char *argv[]){ int N,G,V; // 標準入力から読み込む(空白や改行で勝手に区切ってくれる) // 逆に空白込みの文字列を読み込む場合は別の方法で読む必要がある。 scanf("%d%d%d", &N, &G, &V); // 標準出力に出力 printf("%0.12f\n", ((floor(N / 5)*G)/V)); return 0; }