結果
| 問題 |
No.1346 Rectangle
|
| コンテスト | |
| ユーザー |
keymoon
|
| 提出日時 | 2021-01-17 01:15:29 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 305 bytes |
| コンパイル時間 | 965 ms |
| コンパイル使用メモリ | 110,788 KB |
| 実行使用メモリ | 17,792 KB |
| 最終ジャッジ日時 | 2024-10-02 03:01:27 |
| 合計ジャッジ時間 | 2,280 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public static class P
{
public static void Main()
{
var n = long.Parse(Console.ReadLine());
if (n == 2) Console.WriteLine("INF");
else if (n <= 4) Console.WriteLine(6);
else if (n <= 6) Console.WriteLine(4);
else Console.WriteLine(2);
}
}
keymoon