結果

問題 No.350 d=vt
ユーザー oooooba
提出日時 2021-02-08 21:46:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 410 bytes
コンパイル時間 970 ms
コンパイル使用メモリ 104,648 KB
最終ジャッジ日時 2025-01-18 16:28:16
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <numeric>
#include <optional>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

int main() {
    string sv;
    int32_t t;
    cin >> sv >> t;
    int32_t v = stoi(sv.substr(2));
    auto ans = v * t;
    cout << ans / 10000 << endl;
    return 0;
}
0