結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
Eclair1015
|
| 提出日時 | 2018-05-21 12:19:13 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 189 bytes |
| 記録 | |
| コンパイル時間 | 351 ms |
| コンパイル使用メモリ | 78,612 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-17 11:49:47 |
| 合計ジャッジ時間 | 1,151 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#include<iostream>
#include<math.h>
#include<stdio.h>
using namespace std;
int main(){
double D;
double P;
int ans;
cin>>D;
cin>>P;
ans=D*P*0.01+D;
cout<<ans<<endl;
return 0;
}
Eclair1015