結果
問題 |
No.56 消費税
|
ユーザー |
|
提出日時 | 2021-02-05 13:07:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 742 ms |
コンパイル使用メモリ | 78,768 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-02 04:16:18 |
合計ジャッジ時間 | 1,598 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 5 WA * 18 |
ソースコード
#include <iostream> #include <stdio.h> #include <vector> #include <map> #include <utility> #include <list> #include <math.h> #include <algorithm> using namespace std; int main(){ int d,p; cin>>d>>p; double ans=0; ans=d*(100+p); double tmp=(floor)(ans/100); cout<<tmp<<endl; return 0; }