結果
| 問題 |
No.56 消費税
|
| ユーザー |
zzzhikky
|
| 提出日時 | 2016-12-22 07:17:56 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 483 bytes |
| コンパイル時間 | 739 ms |
| コンパイル使用メモリ | 58,444 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-14 14:16:12 |
| 合計ジャッジ時間 | 1,433 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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)( (double)d * ((double)(p+100)/100.0) ) << endl;
return 0;
}
zzzhikky