結果

問題 No.1713 trick or treat!
ユーザー 👑 kakel-sankakel-san
提出日時 2021-10-22 21:22:48
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 502 bytes
コンパイル時間 2,030 ms
コンパイル使用メモリ 111,440 KB
実行使用メモリ 25,176 KB
最終ジャッジ日時 2023-10-24 12:11:13
合計ジャッジ時間 2,829 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
25,176 KB
testcase_01 AC 27 ms
25,176 KB
testcase_02 AC 27 ms
25,176 KB
testcase_03 AC 26 ms
25,176 KB
testcase_04 AC 27 ms
25,176 KB
testcase_05 AC 28 ms
25,176 KB
testcase_06 AC 28 ms
25,176 KB
testcase_07 AC 27 ms
25,176 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 static System.Console;
using System.Linq;

class yuki319
{
    static int NN => int.Parse(ReadLine());
    static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
    static int[][] NArr(int n) => Enumerable.Repeat(0, n).Select(_ => NList).ToArray();
    static void Main()
    {
        var c = NList;
        var res = 1L;
        for (var i = 1; i <= (c[0] | c[1]); ++i) res *= i;
        WriteLine(res);
    }
}
0