結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-09-27 15:49:54 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 5,000 ms |
| コード長 | 452 bytes |
| コンパイル時間 | 845 ms |
| コンパイル使用メモリ | 65,684 KB |
| 最終ジャッジ日時 | 2025-01-05 03:02:23 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#define PROBLEM no56
// "Env.h"ヘッダが存在していたらインクルードする
#if __has_include("../Env.h")
#include "../Env.h"
#endif
#include <iostream>
class no56 {
public:
void solve() {
int D, P;
std::cin >> D >> P;
std::cout << D*(100+P) / 100 << std::endl;
}
};
#ifndef YUKICODER_ENV_H
int main() {
auto problem = new PROBLEM();
problem->solve();
return 0;
}
#endif //YUKICODER_ENV_H