結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
siguma323
|
| 提出日時 | 2016-05-03 18:28:31 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 323 bytes |
| 記録 | |
| コンパイル時間 | 471 ms |
| コンパイル使用メモリ | 90,476 KB |
| 実行使用メモリ | 98,316 KB |
| 最終ジャッジ日時 | 2026-04-01 18:55:18 |
| 合計ジャッジ時間 | 1,344 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 WA * 1 |
ソースコード
#include <algorithm>
#include <numeric>
#include <string>
#include <vector>
#include <iostream>
#include <queue>
#include <utility>
#include <cmath>
using namespace std;
using ull = unsigned long long;
int main()
{
ull d;
int p;
cin >> d >> p;
int zei = floor(d*(p*0.01));
cout << d + zei << endl;
}
siguma323