結果

問題 No.350 d=vt
ユーザー fiord
提出日時 2016-03-11 22:32:00
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 2,062 ms
コンパイル使用メモリ 159,832 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-05 03:50:16
合計ジャッジ時間 1,865 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 9 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main(){
	double v,t;	cin>>v>>t;
	double d=0;
	for(int i=0;i<t;i++)	d+=v;
	cout<<floor(d)<<endl;
	return 0;
}
0