結果
問題 |
No.285 消費税2
|
ユーザー |
![]() |
提出日時 | 2017-08-09 17:12:07 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 270 bytes |
コンパイル時間 | 676 ms |
コンパイル使用メモリ | 62,760 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-12 03:57:11 |
合計ジャッジ時間 | 1,404 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 WA * 4 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <math.h> using namespace std; int main() { long long d,tax,f; cin >> d; tax = d*8; f = tax % 100; tax /= 100; printf("%lld.%lld\n",d+tax,f); return 0; }