結果
| 問題 | 
                            No.350 d=vt
                             | 
                    
| コンテスト | |
| ユーザー | 
                             chacoder1
                         | 
                    
| 提出日時 | 2021-05-01 14:01:10 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 328 bytes | 
| コンパイル時間 | 1,953 ms | 
| コンパイル使用メモリ | 192,344 KB | 
| 最終ジャッジ日時 | 2025-01-21 05:11:29 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<n;i++)
static const ll mod=1000000007;
#define int long long
signed main(void) {
  string v;
  int t;
  cin>>v>>t;
  int temp=0;
  rep(i,4){
    temp*=10;
    temp+=(v[i+2]-'0');
  } 
  cout<<(temp*t)/10000<<endl;
  return 0;
}
            
            
            
        
            
chacoder1