結果
| 問題 | 
                            No.350 d=vt
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kotamanegi
                         | 
                    
| 提出日時 | 2016-03-11 22:51:43 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 744 bytes | 
| コンパイル時間 | 732 ms | 
| コンパイル使用メモリ | 84,252 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-05 04:17:13 | 
| 合計ジャッジ時間 | 1,169 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
ソースコード
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <iomanip>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream> 
#include<map>
#include <list>
#include <typeinfo>
using namespace std;
#define REP(a,b) for(long long a = 0;a < b;++a)
int main() {
	int t=0;
	string u;
	cin >> u >> t;
	int hoge = ((int)u[0] - 48) * 10000 + ((int)u[2] - 48) * 1000 + ((int)u[3] - 48) * 100 + ((int)u[4] - 48) * 10 + ((int)u[5] - 48) * 1;
	hoge = hoge*t;
	double ans = hoge / 10000;
	cout << ans << endl;
}
//thank you for reading my code!
            
            
            
        
            
kotamanegi