結果
| 問題 | 
                            No.56 消費税
                             | 
                    
| コンテスト | |
| ユーザー | 
                             nyan68682154
                         | 
                    
| 提出日時 | 2019-05-13 20:00:50 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 175 bytes | 
| コンパイル時間 | 478 ms | 
| コンパイル使用メモリ | 57,900 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-07-08 01:49:19 | 
| 合計ジャッジ時間 | 1,367 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 WA * 1 | 
| other | AC * 13 WA * 10 | 
ソースコード
#include<iostream>
#include<string>
#include<math.h>
using namespace std;
int main() 
{
	double d;
	double p;
	int sum;
	cin >> d >> p;
	sum = d * (1+p/100);
	cout << sum;
} 
            
            
            
        
            
nyan68682154