結果
| 問題 | 
                            No.56 消費税
                             | 
                    
| コンテスト | |
| ユーザー | 
                             arca
                         | 
                    
| 提出日時 | 2017-07-25 12:00:36 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 172 bytes | 
| コンパイル時間 | 791 ms | 
| コンパイル使用メモリ | 60,472 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-10-09 17:04:06 | 
| 合計ジャッジ時間 | 1,651 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 WA * 1 | 
| other | AC * 4 WA * 19 | 
ソースコード
#include <iostream>
#include <math.h>
using namespace std;
int main(){
	int p,t;
	double ans;
	cin >>p>>t;
	ans = p*(t*0.01+1);
	ans = floor(ans);
	cout << ans << endl;
}
            
            
            
        
            
arca