結果

問題 No.272 NOT回路
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2016-11-30 12:03:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 142 ms / 1,000 ms
コード長 198 bytes
コンパイル時間 1,870 ms
コンパイル使用メモリ 70,828 KB
実行使用メモリ 56,028 KB
最終ジャッジ日時 2023-08-18 10:00:23
合計ジャッジ時間 4,325 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,684 KB
testcase_01 AC 118 ms
55,812 KB
testcase_02 AC 122 ms
55,684 KB
testcase_03 AC 121 ms
56,028 KB
testcase_04 AC 142 ms
55,464 KB
testcase_05 AC 121 ms
55,692 KB
testcase_06 AC 124 ms
55,732 KB
testcase_07 AC 123 ms
55,956 KB
testcase_08 AC 121 ms
55,508 KB
testcase_09 AC 120 ms
55,440 KB
testcase_10 AC 121 ms
55,768 KB
testcase_11 AC 117 ms
55,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Question272
{
	public static void main(String[] str)
	{
	
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		
		System.out.println(x==0 ? 1 : 0);
	}
}
0