結果

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

ソースコード

diff #

#include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#include <iomanip>
using namespace std;

#define ll long long
#define INF (1 << 30)
#define INFLL (1LL << 60)

int main() {
	double speed;
	int v,s,ans;

	cin >> speed >> s;
	cout << fixed << setprecision(0);
	//cout << speed * 10000 * s / 10000 << endl;
	ans = speed * 10000 * s + 0.1;
	cout << ans / 10000<< endl;
	return 0;
}
0