結果

問題 No.722 100×100=1000
ユーザー _matumo__matumo_
提出日時 2018-08-15 12:28:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 671 bytes
コンパイル時間 1,217 ms
コンパイル使用メモリ 106,880 KB
実行使用メモリ 18,944 KB
最終ジャッジ日時 2024-04-20 15:19:35
合計ジャッジ時間 2,690 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
18,816 KB
testcase_01 AC 26 ms
18,688 KB
testcase_02 AC 26 ms
18,944 KB
testcase_03 AC 27 ms
18,944 KB
testcase_04 AC 27 ms
18,560 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 27 ms
18,688 KB
testcase_08 AC 27 ms
18,816 KB
testcase_09 AC 27 ms
18,816 KB
testcase_10 AC 27 ms
18,944 KB
testcase_11 AC 27 ms
18,816 KB
testcase_12 AC 27 ms
18,816 KB
testcase_13 AC 26 ms
18,816 KB
testcase_14 AC 27 ms
18,560 KB
testcase_15 AC 27 ms
18,816 KB
testcase_16 AC 27 ms
18,816 KB
testcase_17 AC 27 ms
18,816 KB
testcase_18 AC 27 ms
18,816 KB
testcase_19 AC 27 ms
18,816 KB
testcase_20 AC 27 ms
18,944 KB
testcase_21 WA -
testcase_22 AC 28 ms
18,432 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 27 ms
18,816 KB
testcase_26 AC 27 ms
18,816 KB
testcase_27 AC 27 ms
18,816 KB
testcase_28 AC 27 ms
18,304 KB
testcase_29 AC 27 ms
18,560 KB
testcase_30 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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) Console.WriteLine(n0 * n1 / 10);
            else Console.WriteLine(nn >= -99999999 && nn <= 99999999 ? nn.ToString() : "E");
            Console.ReadLine();
        }
    }
}
0