結果

問題 No.350 d=vt
ユーザー chuka231chuka231
提出日時 2016-03-11 22:47:50
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 585 bytes
コンパイル時間 660 ms
コンパイル使用メモリ 84,840 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-05 03:58:59
合計ジャッジ時間 1,231 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<algorithm>
#include<bitset>
#include<vector>
#include<deque>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cmath>
#include<iomanip>
#include <functional>
using namespace std;
typedef long long ll;
const int mod = 1000000007;
//cout << fixed << std::setprecision(9)
//memset(a, 0, sizeof(a));
//--------------------------


int main()
{
	double v;
	ll t, vv;
	double e = 0.00000001;

	cin >> v >> t;
	vv = (v+e) * 10000;

	ll ans = vv * t;

	cout << ans/10000 << endl;

	return 0;
}
0