結果
問題 | No.56 消費税 |
ユーザー | hayaD |
提出日時 | 2016-05-02 07:40:49 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 546 ms |
コンパイル使用メモリ | 72,064 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 03:11:35 |
合計ジャッジ時間 | 1,249 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
ソースコード
#include <algorithm> #include <iostream> #include <map> #include <numeric> #include <set> #include <sstream> #include <string> #include <vector> #include <cmath> #include <stack> using namespace std; int main() { int D,P; cin >> D >> P; int t = D * (100+P) / 100; cout << t << endl; return 0; }