結果

問題 No.668 6.0*10^23
ユーザー bluemeganebluemegane
提出日時 2018-09-07 18:56:55
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 412 bytes
コンパイル時間 957 ms
コンパイル使用メモリ 61,272 KB
実行使用メモリ 24,864 KB
最終ジャッジ日時 2023-09-13 19:45:08
合計ジャッジ時間 6,267 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
24,832 KB
testcase_01 AC 67 ms
22,768 KB
testcase_02 AC 66 ms
20,624 KB
testcase_03 AC 67 ms
24,852 KB
testcase_04 AC 66 ms
22,792 KB
testcase_05 AC 66 ms
22,728 KB
testcase_06 AC 66 ms
24,840 KB
testcase_07 AC 65 ms
22,788 KB
testcase_08 AC 66 ms
22,676 KB
testcase_09 AC 65 ms
22,836 KB
testcase_10 AC 66 ms
22,768 KB
testcase_11 AC 67 ms
22,736 KB
testcase_12 AC 66 ms
20,744 KB
testcase_13 AC 66 ms
22,860 KB
testcase_14 AC 66 ms
22,668 KB
testcase_15 AC 67 ms
24,808 KB
testcase_16 AC 67 ms
20,660 KB
testcase_17 AC 66 ms
22,684 KB
testcase_18 AC 66 ms
24,792 KB
testcase_19 AC 66 ms
22,700 KB
testcase_20 AC 66 ms
24,784 KB
testcase_21 AC 66 ms
22,776 KB
testcase_22 AC 67 ms
22,804 KB
testcase_23 AC 66 ms
22,668 KB
testcase_24 AC 66 ms
24,828 KB
testcase_25 AC 67 ms
22,788 KB
testcase_26 AC 67 ms
22,800 KB
testcase_27 AC 67 ms
24,676 KB
testcase_28 AC 66 ms
22,808 KB
testcase_29 AC 65 ms
22,800 KB
testcase_30 AC 67 ms
24,784 KB
testcase_31 AC 66 ms
22,792 KB
testcase_32 AC 67 ms
24,852 KB
testcase_33 AC 67 ms
24,724 KB
testcase_34 AC 66 ms
22,800 KB
testcase_35 AC 65 ms
22,880 KB
testcase_36 AC 68 ms
24,848 KB
testcase_37 AC 67 ms
22,692 KB
testcase_38 AC 67 ms
22,796 KB
testcase_39 AC 66 ms
24,732 KB
testcase_40 AC 66 ms
22,804 KB
testcase_41 AC 66 ms
24,864 KB
testcase_42 AC 66 ms
24,720 KB
testcase_43 AC 66 ms
24,856 KB
testcase_44 AC 66 ms
22,828 KB
testcase_45 AC 64 ms
24,736 KB
testcase_46 AC 65 ms
22,784 KB
testcase_47 AC 67 ms
22,772 KB
testcase_48 AC 66 ms
22,848 KB
testcase_49 AC 65 ms
22,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    public static void Main()
    {
        var s = Console.ReadLine().Trim();
        var a = s.Substring(0, 3);
        var a2 = int.Parse(a) / 10.0;
        var a3 = Math.Round(a2, 0, MidpointRounding.AwayFromZero).ToString();
        var a4 = s.Length - 1;
        if (a3 == "100") { a3 = "10";  a4++; }
        Console.WriteLine("{0}.{1}*10^{2}",a3[0],a3[1],a4);
    }
}
0