結果

問題 No.379 五円硬貨
ユーザー subsn
提出日時 2023-06-19 10:07:03
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 148 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 29,824 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-26 22:15:22
合計ジャッジ時間 809 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>
int main()
{
	double n, g, v;
	scanf("%lf%lf%lf",&n,&g,&v);
	n/=5;
	n = floor(n);
	n*=g/v;
	printf("%f\n",n);
}
0