結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-10-25 18:59:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 259 bytes |
| コンパイル時間 | 453 ms |
| コンパイル使用メモリ | 55,520 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-24 03:35:40 |
| 合計ジャッジ時間 | 1,371 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
#include <iostream>
#include <cstdint>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int64_t d;
cin >> d;
d *= 108;
string s = to_string(d);
s.insert(s.size() - 2, ".");
cout << s << endl;
}