結果
| 問題 | No.285 消費税2 |
| コンテスト | |
| ユーザー |
ant2357
|
| 提出日時 | 2016-05-04 20:59:37 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 359 bytes |
| 記録 | |
| コンパイル時間 | 473 ms |
| コンパイル使用メモリ | 101,548 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-20 20:32:01 |
| 合計ジャッジ時間 | 3,956 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 RE * 1 |
| other | AC * 2 WA * 1 RE * 23 |
ソースコード
#include <iostream>
#include <cmath>
#include <string>
#include <vector>
#include <map>
#include <list>
#include <deque>
#include <algorithm>
using namespace std;
int main() {
int D;
cin >> D;
string tmpD = to_string(D);
int len;
len = tmpD.length();
D *= 108;
string ans = to_string(D);
ans.insert(len, ".");
cout << ans << endl;
return 0;
}
ant2357