結果
問題 | No.350 d=vt |
ユーザー |
![]() |
提出日時 | 2020-07-07 21:10:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 313 bytes |
コンパイル時間 | 839 ms |
コンパイル使用メモリ | 89,248 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-01 19:44:36 |
合計ジャッジ時間 | 1,508 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 WA * 1 |
ソースコード
#include <vector> #include <iostream> #include <algorithm> #include <functional> #include <string> #include <math.h> #include <map> #include <iomanip> using namespace std; int main(){ double v,t; cin >> v >> t; v*=10000; int ans=v*t; if(ans%10000>=5000)ans++; ans/=10000; cout << ans << endl; return 0; }