結果

問題 No.969 じゃんけん
ユーザー ngtkanangtkana
提出日時 2020-02-06 11:10:10
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 793 ms
コンパイル使用メモリ 106,060 KB
実行使用メモリ 23,756 KB
最終ジャッジ日時 2024-09-25 06:02:56
合計ジャッジ時間 1,365 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;
using System.Collections.Generic;


static class NagataKanaIsAGenius {
    public static void Main() {
        int n=int.Parse(Console.ReadLine());
        Console.WriteLine(n==0||n==4||n==10?"Yes":"No");
    }
}
0