結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-28 11:04:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| コンパイル時間 | 666 ms |
| コンパイル使用メモリ | 71,868 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-28 11:04:35 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 23 |
ソースコード
#include <stdio.h>
#include <iostream>
#include <string>
#include <map>
#include <math.h>
using namespace std;
int main(void) {
int d;
double p;
cin >> d >> p;
cout << d << " " << p << endl;
cout << int((d + d * (p / 100)));
}