結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
Dahn
|
| 提出日時 | 2021-11-25 01:28:12 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 1,972 ms |
| コンパイル使用メモリ | 191,044 KB |
| 最終ジャッジ日時 | 2025-01-26 01:06:39 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 18 WA * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
unsigned int d, p;
cin >> d >> p;
cout << int(d*(1.0f+p/100.0f)) << endl ;
return 0;
}
Dahn