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