結果

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

ソースコード

diff #

#include<iostream>
#include<string>
#include<algorithm>
#include<cctype>
#include<set>
#include<bitset>
#include<math.h>
#include<map>
#include<queue>
#include<iomanip>
using namespace std;
#ifdef _WIN32
#include <Windows.h>
#endif

int main()
{
    string s, w;
    int t, u;
    cin >> s >> t;
    w = s[0];
    for (int i = 2; i < 6; i++){
        w += s[i];
    }
    u = stoi(w);
    cout << t*u/10000 << endl;
}
0