結果

問題 No.350 d=vt
ユーザー hotpepsi
提出日時 2016-03-13 00:17:16
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 241 bytes
コンパイル時間 454 ms
コンパイル使用メモリ 61,144 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-05 04:29:23
合計ジャッジ時間 941 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <sstream>
#include <cmath>

using namespace std;

int main(int argc, char *argv[])
{
	long double v, t;
	cin >> v >> t;
	long double ans = (v + 1.0e-10) * (t + 1.0e-10);
	cout << floor(ans) << endl;
	return 0;
}
0