結果

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

ソースコード

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.0001;
	}
	d = v * t;
	printf("%d", d);
}
0