結果
問題 | No.56 消費税 |
ユーザー |
|
提出日時 | 2015-11-28 00:08:49 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 271 bytes |
コンパイル時間 | 782 ms |
コンパイル使用メモリ | 64,336 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-14 00:26:08 |
合計ジャッジ時間 | 1,648 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 5 WA * 18 |
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <math.h> using namespace std; typedef unsigned int uint; typedef unsigned long ulong; int main() { double d, p; cin >> d >> p; cout << floor(d + (d * p / 100)) << endl; return 0; }