結果

問題 No.1040 垂直大学
ユーザー NoNo
提出日時 2020-05-01 21:25:45
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 368 bytes
コンパイル時間 1,044 ms
コンパイル使用メモリ 65,308 KB
実行使用メモリ 22,892 KB
最終ジャッジ日時 2023-08-26 06:41:53
合計ジャッジ時間 2,815 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
22,692 KB
testcase_01 AC 49 ms
22,736 KB
testcase_02 AC 49 ms
20,748 KB
testcase_03 AC 49 ms
22,892 KB
testcase_04 AC 48 ms
20,808 KB
testcase_05 AC 47 ms
20,812 KB
testcase_06 AC 46 ms
22,752 KB
testcase_07 AC 45 ms
20,692 KB
testcase_08 AC 47 ms
20,596 KB
testcase_09 AC 50 ms
20,780 KB
testcase_10 AC 46 ms
20,588 KB
testcase_11 AC 47 ms
20,760 KB
testcase_12 AC 46 ms
20,652 KB
testcase_13 AC 47 ms
20,728 KB
testcase_14 AC 48 ms
20,712 KB
testcase_15 AC 48 ms
22,636 KB
testcase_16 AC 48 ms
20,736 KB
testcase_17 AC 50 ms
20,736 KB
testcase_18 AC 47 ms
20,660 KB
testcase_19 AC 48 ms
22,748 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

namespace a
{
    class a
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            if (n % 90 == 0 && n % 180 != 0)
            {
                Console.WriteLine("Yes");
            }
            else
            {
                Console.WriteLine("No");
            }
        }
    }
}

0