結果
問題 |
No.1346 Rectangle
|
ユーザー |
|
提出日時 | 2021-01-16 14:48:34 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 805 ms |
コンパイル使用メモリ | 109,060 KB |
実行使用メモリ | 25,560 KB |
最終ジャッジ日時 | 2024-11-27 17:00:28 |
合計ジャッジ時間 | 1,863 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 16 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class E { static void Main() => Console.WriteLine(Solve()); static object Solve() { var n = long.Parse(Console.ReadLine()); if (n == 2) return "INF"; if (n == 3) return 6; if (n == 4) return 4; if (n == 5) return 4; if (n == 6) return 4; return 2; } }