結果

問題 No.272 NOT回路
ユーザー nanophoto12nanophoto12
提出日時 2015-12-08 01:46:37
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 50 ms / 1,000 ms
コード長 307 bytes
コンパイル時間 2,867 ms
コンパイル使用メモリ 98,124 KB
実行使用メモリ 22,540 KB
最終ジャッジ日時 2023-10-12 20:40:18
合計ジャッジ時間 3,985 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
20,360 KB
testcase_01 AC 50 ms
20,472 KB
testcase_02 AC 49 ms
20,472 KB
testcase_03 AC 49 ms
20,508 KB
testcase_04 AC 50 ms
20,536 KB
testcase_05 AC 50 ms
22,540 KB
testcase_06 AC 49 ms
20,544 KB
testcase_07 AC 49 ms
20,480 KB
testcase_08 AC 49 ms
22,532 KB
testcase_09 AC 49 ms
22,468 KB
testcase_10 AC 48 ms
20,428 KB
testcase_11 AC 49 ms
20,396 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.Collections.Generic;
using System.Linq;
using System.Text;

namespace No272
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			var s = Console.ReadLine ();

			if (s == "1") {
				Console.WriteLine ("0");
			} else {
				Console.WriteLine ("1");
			}
		}
	}
}
0