結果
問題 | No.9003 小数誤差テスト(テスト用) |
ユーザー | Yug_min_null |
提出日時 | 2021-11-25 12:51:01 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 295 bytes |
コンパイル時間 | 1,654 ms |
コンパイル使用メモリ | 185,664 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-10 12:13:50 |
合計ジャッジ時間 | 2,319 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,376 KB |
testcase_01 | AC | 1 ms
4,376 KB |
testcase_02 | AC | 1 ms
4,376 KB |
testcase_03 | AC | 1 ms
4,380 KB |
testcase_04 | AC | 1 ms
4,376 KB |
ソースコード
#define _GLIBCXX_DEBUG #define ll long long #include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; int main(){ string N; cin >> N; cout << "decimal" << endl; if(N.find(".") != -1){ cout << N << "0001" << endl; }else{ cout << N << ".0001" << endl; } }