結果

問題 No.272 NOT回路
ユーザー CroweaCrowea
提出日時 2019-01-24 19:50:22
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 1,000 ms
コード長 181 bytes
コンパイル時間 784 ms
コンパイル使用メモリ 65,180 KB
実行使用メモリ 24,816 KB
最終ジャッジ日時 2023-10-14 09:42:41
合計ジャッジ時間 2,119 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
18,628 KB
testcase_01 AC 47 ms
24,816 KB
testcase_02 AC 48 ms
20,700 KB
testcase_03 AC 48 ms
18,680 KB
testcase_04 AC 48 ms
20,796 KB
testcase_05 AC 49 ms
20,556 KB
testcase_06 AC 47 ms
22,812 KB
testcase_07 AC 47 ms
20,828 KB
testcase_08 AC 46 ms
20,640 KB
testcase_09 AC 47 ms
22,796 KB
testcase_10 AC 47 ms
20,740 KB
testcase_11 AC 47 ms
20,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

class Program
{
    static void Main(string[] args)
    {
        var bit = int.Parse(Console.ReadLine());
        Console.WriteLine((bit == 0) ? "1" : "0");
    }
}
0