結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-07 22:23:14 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 5 ms / 5,000 ms |
| コード長 | 257 bytes |
| コンパイル時間 | 588 ms |
| コンパイル使用メモリ | 74,340 KB |
| 最終ジャッジ日時 | 2025-01-17 10:26:51 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <numeric>
#include <optional>
#include <vector>
using namespace std;
int main() {
int32_t d, p;
cin >> d >> p;
cout << int32_t(d * (p + 100) / 100.0) << endl;
return 0;
}