結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-12 17:26:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| コンパイル時間 | 654 ms |
| コンパイル使用メモリ | 65,408 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-12 17:50:42 |
| 合計ジャッジ時間 | 1,503 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 13 WA * 10 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <cctype>
using namespace std;
int main(){
int D, P;
cin >> D >> P;
cout << (int) (D*(1.0 + (double) P/100)) << endl;
}