結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-18 14:32:12 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| コンパイル時間 | 502 ms |
| コンパイル使用メモリ | 64,100 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-30 16:53:17 |
| 合計ジャッジ時間 | 1,450 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 1 WA * 25 |
ソースコード
#include <iostream>
#include <stdio.h>
using namespace std;
typedef long long LL;
int main(int argc, char* argv[])
{
LL D;
cin>>D;
double d=(D*100+8*D)/100.0;
if (d==(LL)d){
cout<<(LL)d<<endl;
}else{
printf("%llf\n",d);
}
return 0;
}