結果

問題 No.350 d=vt
ユーザー rainy
提出日時 2021-07-27 10:27:51
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 28,672 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-23 06:46:26
合計ジャッジ時間 757 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(void) {
	double v;
	int t, d;
	scanf("%lf %d", &v, &t);
	if (((int)(v * 10000) % 10) != 0) {
		v += 0.00001;
	}
	d = v * t;
	printf("%d", d);
}
0