結果
| 問題 |
No.56 消費税
|
| ユーザー |
zzzhikky
|
| 提出日時 | 2016-12-22 07:16:18 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 488 bytes |
| コンパイル時間 | 470 ms |
| コンパイル使用メモリ | 59,236 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-14 14:16:07 |
| 合計ジャッジ時間 | 1,341 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 19 WA * 4 |
ソースコード
//============================================================================
// Name : yuki56.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int d, p;
cin >> d >> p;
cout << (int)floor( (double)d * ((double)(p+100)/100.0) ) << endl;
return 0;
}
zzzhikky