結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2025-08-05 15:38:59 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 322 bytes |
コンパイル時間 | 932 ms |
コンパイル使用メモリ | 100,404 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-08-05 15:39:01 |
合計ジャッジ時間 | 2,325 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
#include <algorithm> #include <iostream> #include <iomanip> #include <climits> #include <string> #include <vector> #include <cmath> #include <set> #include <map> using namespace std; using ll = long long; int main(void) { ll D, P, H = 100; cin >> D >> P; ll R = (D * (P + H)) / H; cout << R << endl; return 0; }