結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
t_murano
|
| 提出日時 | 2014-11-25 17:51:14 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 241 bytes |
| 記録 | |
| コンパイル時間 | 416 ms |
| コンパイル使用メモリ | 76,272 KB |
| 実行使用メモリ | 83,928 KB |
| 最終ジャッジ日時 | 2026-04-01 17:12:14 |
| 合計ジャッジ時間 | 1,208 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 WA * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#define REP(i,n) for(int i=0;i<n;i++)
using namespace std;
int main() {
int d, p;
cin >> d >> p;
cout << (int)(d * (p/100.0)) + d << endl;
return 0;
}
t_murano