結果
問題 | No.285 消費税2 |
ユーザー |
|
提出日時 | 2019-07-30 11:50:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 1,762 ms |
コンパイル使用メモリ | 193,228 KB |
最終ジャッジ日時 | 2025-01-07 10:05:18 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll n; cin >> n; n *= 108; string s = to_string(n); s.insert(s.end() - 2, '.'); cout << s << endl; return 0; }