結果

問題 No.272 NOT回路
ユーザー TatsuDXTatsuDX
提出日時 2016-09-03 15:25:45
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 1,000 ms
コード長 171 bytes
コンパイル時間 2,873 ms
コンパイル使用メモリ 74,344 KB
実行使用メモリ 41,692 KB
最終ジャッジ日時 2024-04-27 15:24:50
合計ジャッジ時間 4,956 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
40,072 KB
testcase_01 AC 130 ms
41,316 KB
testcase_02 AC 122 ms
41,204 KB
testcase_03 AC 122 ms
41,276 KB
testcase_04 AC 117 ms
41,444 KB
testcase_05 AC 110 ms
41,316 KB
testcase_06 AC 102 ms
41,356 KB
testcase_07 AC 121 ms
41,692 KB
testcase_08 AC 116 ms
41,336 KB
testcase_09 AC 120 ms
41,388 KB
testcase_10 AC 105 ms
41,184 KB
testcase_11 AC 120 ms
41,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Test {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		System.out.println(1-sc.nextInt());
	}
}
0