結果
問題 |
No.350 d=vt
|
ユーザー |
![]() |
提出日時 | 2016-05-15 19:54:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 318 bytes |
コンパイル時間 | 394 ms |
コンパイル使用メモリ | 57,608 KB |
実行使用メモリ | 6,816 KB |
最終ジャッジ日時 | 2024-10-05 04:53:35 |
合計ジャッジ時間 | 922 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 WA * 1 |
ソースコード
#include <iostream> #include <sstream> int main(void) { double v, t; std::cin >> v >> t; std::stringstream ss; ss << v*t; int pos_num, decimal; char dot; ss >> pos_num >> dot >> decimal; // std::cout << pos_num << " " << dot << " " << decimal << std::endl; std::cout << pos_num << std::endl; return 0; }