結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-06-02 10:32:04 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 184 bytes |
| コンパイル時間 | 391 ms |
| コンパイル使用メモリ | 55,184 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-08 05:23:38 |
| 合計ジャッジ時間 | 1,247 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 17 |
ソースコード
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
long long D;
int a;
cin>>D;
a = (D%10+D/10%10*10)*8;
cout<<D*108/100<<"."<<a/10%10*10<<a%10<<endl;
}
kongarishisyamo