結果

問題 No.272 NOT回路
ユーザー swdamdrswdamdr
提出日時 2017-01-24 15:32:34
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 1,000 ms
コード長 281 bytes
コンパイル時間 1,842 ms
コンパイル使用メモリ 98,628 KB
実行使用メモリ 22,756 KB
最終ジャッジ日時 2023-08-24 21:44:26
合計ジャッジ時間 3,281 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
20,820 KB
testcase_01 AC 54 ms
22,756 KB
testcase_02 AC 53 ms
20,608 KB
testcase_03 AC 53 ms
22,708 KB
testcase_04 AC 53 ms
20,872 KB
testcase_05 AC 53 ms
20,736 KB
testcase_06 AC 53 ms
22,716 KB
testcase_07 AC 52 ms
18,712 KB
testcase_08 AC 53 ms
18,732 KB
testcase_09 AC 53 ms
20,772 KB
testcase_10 AC 53 ms
20,744 KB
testcase_11 AC 54 ms
20,660 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;

class Program
{
    static void Main(string[] args)
    {
        int x = int.Parse(Console.ReadLine());
        int output = 1;

        if (x == 1)
        {
            output = 0;
        }

        Console.WriteLine(output);
        
    }
}
0