結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
mizuyoukannKB
|
| 提出日時 | 2016-04-03 23:06:52 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| コンパイル時間 | 558 ms |
| コンパイル使用メモリ | 55,504 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-02 13:04:49 |
| 合計ジャッジ時間 | 1,452 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 4 WA * 19 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
double num, val;
cin >> num >> val;
cout << (int)num + num * ((double)val * 0.01) << endl;
return 0;
}
mizuyoukannKB