結果
| 問題 | No.1713 trick or treat! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-22 21:22:48 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 19 ms / 2,000 ms |
| コード長 | 502 bytes |
| 記録 | |
| コンパイル時間 | 1,901 ms |
| コンパイル使用メモリ | 106,880 KB |
| 実行使用メモリ | 27,376 KB |
| 最終ジャッジ日時 | 2026-04-11 09:44:26 |
| 合計ジャッジ時間 | 2,348 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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);
}
}