結果

問題 No.1003 サイコロの実装 (1)
ユーザー phsplsphspls
提出日時 2020-03-24 23:17:01
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 275 bytes
コンパイル時間 2,156 ms
コンパイル使用メモリ 98,084 KB
実行使用メモリ 22,832 KB
最終ジャッジ日時 2023-08-30 09:01:04
合計ジャッジ時間 5,583 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
20,556 KB
testcase_01 AC 54 ms
18,716 KB
testcase_02 AC 54 ms
22,768 KB
testcase_03 AC 54 ms
22,692 KB
testcase_04 AC 54 ms
20,556 KB
testcase_05 AC 54 ms
20,684 KB
testcase_06 AC 56 ms
18,712 KB
testcase_07 AC 54 ms
20,560 KB
testcase_08 AC 54 ms
20,628 KB
testcase_09 AC 53 ms
20,788 KB
testcase_10 AC 54 ms
20,568 KB
testcase_11 AC 53 ms
20,728 KB
testcase_12 AC 54 ms
20,636 KB
testcase_13 AC 53 ms
18,576 KB
testcase_14 AC 54 ms
20,572 KB
testcase_15 AC 54 ms
22,640 KB
testcase_16 AC 56 ms
20,824 KB
testcase_17 AC 54 ms
20,784 KB
testcase_18 AC 54 ms
20,688 KB
testcase_19 AC 55 ms
22,832 KB
testcase_20 AC 54 ms
22,748 KB
testcase_21 AC 54 ms
20,720 KB
testcase_22 AC 54 ms
18,596 KB
testcase_23 AC 57 ms
22,804 KB
testcase_24 AC 55 ms
22,736 KB
testcase_25 AC 54 ms
22,736 KB
testcase_26 AC 53 ms
18,820 KB
testcase_27 AC 55 ms
20,696 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.Linq;

public class P1003 {
    public static void Main() {
        var n = int.Parse(Console.ReadLine().Trim());
        if(n % 6 == 0) {
            Console.WriteLine("Yes");
        } else {
            Console.WriteLine("No");
        }
    }
}
0