結果

問題 No.722 100×100=1000
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-10-06 01:41:09
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 504 bytes
コンパイル時間 1,062 ms
コンパイル使用メモリ 111,356 KB
実行使用メモリ 27,504 KB
最終ジャッジ日時 2024-04-20 15:32:41
合計ジャッジ時間 2,344 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
25,084 KB
testcase_01 WA -
testcase_02 AC 26 ms
25,332 KB
testcase_03 WA -
testcase_04 AC 25 ms
25,084 KB
testcase_05 AC 24 ms
25,080 KB
testcase_06 AC 24 ms
27,008 KB
testcase_07 AC 24 ms
27,252 KB
testcase_08 AC 24 ms
25,084 KB
testcase_09 AC 26 ms
25,232 KB
testcase_10 AC 26 ms
25,532 KB
testcase_11 AC 27 ms
27,188 KB
testcase_12 AC 26 ms
25,212 KB
testcase_13 AC 27 ms
25,280 KB
testcase_14 AC 26 ms
27,144 KB
testcase_15 AC 26 ms
25,216 KB
testcase_16 AC 26 ms
25,468 KB
testcase_17 AC 26 ms
25,344 KB
testcase_18 AC 29 ms
27,252 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 25 ms
25,592 KB
testcase_22 AC 24 ms
27,124 KB
testcase_23 AC 24 ms
25,348 KB
testcase_24 AC 26 ms
25,468 KB
testcase_25 AC 25 ms
27,128 KB
testcase_26 AC 27 ms
27,320 KB
testcase_27 AC 28 ms
25,516 KB
testcase_28 AC 25 ms
25,468 KB
testcase_29 AC 24 ms
26,944 KB
testcase_30 AC 24 ms
25,204 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.Linq;

class No722
{
    static void Main()
    {
        var num = Console.ReadLine().Split(' ').Select(x => Int64.Parse(x)).ToArray();
        var isAnzan = (num[0] % 100) == 0 && (num[1] % 100) == 0 && Math.Abs(num[0]).ToString().Where(x => x != 0).Count()<2&& Math.Abs(num[1]).ToString().Where(x => x != 0).Count() < 2;
        var a = num[0] * num[1];
        Console.WriteLine(isAnzan ? (a / 10).ToString() : -100000000 < a && a < 100000000 ? a.ToString() : "E");
    }
}
0