結果

問題 No.350 d=vt
ユーザー kichirb3
提出日時 2018-03-04 00:24:50
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 338 bytes
コンパイル時間 542 ms
コンパイル使用メモリ 66,096 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-05 05:57:20
合計ジャッジ時間 1,319 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.350 d=vt
// https://yukicoder.me/problems/no/350
//
#include <iostream>
#include <string>
using namespace std;

int main() {
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);
    string v;
    int t;
    cin >> v >> t;

    v.erase(v.begin(), v.begin()+2);
    int vv = stoi(v);
    cout << vv * t / 10000 << endl;
}
0