結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
r2en_
|
| 提出日時 | 2017-07-09 09:23:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 251 bytes |
| コンパイル時間 | 710 ms |
| コンパイル使用メモリ | 62,592 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-07 04:16:57 |
| 合計ジャッジ時間 | 1,387 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#include <iostream>
using namespace std;
#define rep(i,n) for(int i = 0; i < (n); i++)
int main(){
int d, p;
int tax = 0;
int res = 0;
cin >> d >> p;
tax = d * p / 100;
res = tax + d;
cout << res << endl;
return 0;
}
r2en_