結果

問題 No.722 100×100=1000
ユーザー _matumo__matumo_
提出日時 2018-08-15 13:12:15
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 695 bytes
コンパイル時間 868 ms
コンパイル使用メモリ 111,784 KB
実行使用メモリ 29,136 KB
最終ジャッジ日時 2024-04-20 15:19:41
合計ジャッジ時間 2,717 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
22,712 KB
testcase_01 AC 28 ms
27,052 KB
testcase_02 AC 28 ms
24,884 KB
testcase_03 WA -
testcase_04 AC 29 ms
25,016 KB
testcase_05 AC 27 ms
24,628 KB
testcase_06 AC 28 ms
24,888 KB
testcase_07 AC 28 ms
26,692 KB
testcase_08 AC 28 ms
24,756 KB
testcase_09 AC 29 ms
25,012 KB
testcase_10 AC 27 ms
24,812 KB
testcase_11 AC 27 ms
24,756 KB
testcase_12 AC 29 ms
25,008 KB
testcase_13 AC 28 ms
22,960 KB
testcase_14 AC 30 ms
24,752 KB
testcase_15 AC 30 ms
24,756 KB
testcase_16 AC 30 ms
24,808 KB
testcase_17 AC 29 ms
24,880 KB
testcase_18 AC 30 ms
25,052 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 28 ms
24,752 KB
testcase_22 AC 29 ms
24,888 KB
testcase_23 AC 28 ms
24,628 KB
testcase_24 AC 29 ms
26,800 KB
testcase_25 AC 28 ms
25,012 KB
testcase_26 AC 29 ms
24,620 KB
testcase_27 AC 30 ms
26,852 KB
testcase_28 AC 30 ms
27,048 KB
testcase_29 AC 29 ms
25,056 KB
testcase_30 AC 30 ms
26,964 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 System.Text;

namespace YukiCoder
{
    class Program
    {
        static void Main(string[] args)
        {
            var va = Console.ReadLine().Split();
            var n0 = long.Parse(va[0]);
            var n1 = long.Parse(va[1]);
            var c0 = va[0].Count(n => n > '0' && n <= '9');
            var c1 = va[1].Count(n => n > '0' && n <= '9');
            var nn = n0 * n1;
            if (c0 == 1 && c1 == 1 && n0 > 99 && n1 > 99) Console.WriteLine(n0 * n1 / 10);
            else Console.WriteLine(nn >= -99999999 && nn <= 99999999 ? nn.ToString() : "E");
            Console.ReadLine();
        }
    }
}
0