結果

問題 No.668 6.0*10^23
ユーザー iwkjoseciwkjosec
提出日時 2018-04-14 02:14:13
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 362 bytes
コンパイル時間 1,948 ms
コンパイル使用メモリ 101,508 KB
実行使用メモリ 25,220 KB
最終ジャッジ日時 2023-09-12 18:13:45
合計ジャッジ時間 7,083 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
20,848 KB
testcase_01 AC 69 ms
23,188 KB
testcase_02 AC 67 ms
23,148 KB
testcase_03 AC 68 ms
23,148 KB
testcase_04 AC 70 ms
23,136 KB
testcase_05 AC 68 ms
23,160 KB
testcase_06 AC 68 ms
21,164 KB
testcase_07 AC 67 ms
23,228 KB
testcase_08 AC 68 ms
23,068 KB
testcase_09 AC 68 ms
21,068 KB
testcase_10 AC 60 ms
20,816 KB
testcase_11 AC 70 ms
25,148 KB
testcase_12 AC 69 ms
23,120 KB
testcase_13 AC 61 ms
20,892 KB
testcase_14 AC 69 ms
25,144 KB
testcase_15 AC 60 ms
20,808 KB
testcase_16 AC 60 ms
20,856 KB
testcase_17 AC 69 ms
23,132 KB
testcase_18 AC 62 ms
20,756 KB
testcase_19 AC 60 ms
20,804 KB
testcase_20 AC 68 ms
23,116 KB
testcase_21 AC 70 ms
23,120 KB
testcase_22 AC 69 ms
25,220 KB
testcase_23 AC 69 ms
23,084 KB
testcase_24 AC 67 ms
23,236 KB
testcase_25 AC 69 ms
25,192 KB
testcase_26 AC 68 ms
23,104 KB
testcase_27 AC 68 ms
21,180 KB
testcase_28 AC 68 ms
23,292 KB
testcase_29 AC 68 ms
23,264 KB
testcase_30 AC 69 ms
23,044 KB
testcase_31 AC 67 ms
23,144 KB
testcase_32 AC 68 ms
23,176 KB
testcase_33 AC 69 ms
21,016 KB
testcase_34 AC 68 ms
23,172 KB
testcase_35 AC 67 ms
23,172 KB
testcase_36 AC 68 ms
23,220 KB
testcase_37 AC 68 ms
23,168 KB
testcase_38 AC 67 ms
23,176 KB
testcase_39 AC 70 ms
25,120 KB
testcase_40 AC 69 ms
25,148 KB
testcase_41 AC 69 ms
23,084 KB
testcase_42 AC 69 ms
23,112 KB
testcase_43 AC 69 ms
21,188 KB
testcase_44 AC 62 ms
22,852 KB
testcase_45 AC 68 ms
23,116 KB
testcase_46 AC 67 ms
23,116 KB
testcase_47 AC 67 ms
23,180 KB
testcase_48 AC 67 ms
23,152 KB
testcase_49 AC 59 ms
22,836 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;

class Program
{
    static void Main()
    {
        var N = ReadLine();
        var ab = Math.Round(double.Parse(N.Substring(0, 3)) / 100, 1, MidpointRounding.AwayFromZero);
        WriteLine(ab < 10 ? $"{ab:0.0}*10^{N.Length - 1}" : $"1.0*10^{N.Length}");
    }
}
0