結果

問題 No.272 NOT回路
ユーザー omc-testomc-test
提出日時 2016-08-05 08:46:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 1,000 ms
コード長 173 bytes
コンパイル時間 3,474 ms
コンパイル使用メモリ 74,352 KB
実行使用メモリ 41,268 KB
最終ジャッジ日時 2024-04-24 15:36:37
合計ジャッジ時間 4,656 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
40,788 KB
testcase_01 AC 119 ms
41,248 KB
testcase_02 AC 104 ms
39,996 KB
testcase_03 AC 111 ms
41,164 KB
testcase_04 AC 114 ms
41,268 KB
testcase_05 AC 101 ms
40,308 KB
testcase_06 AC 110 ms
41,012 KB
testcase_07 AC 99 ms
39,964 KB
testcase_08 AC 111 ms
41,088 KB
testcase_09 AC 95 ms
40,004 KB
testcase_10 AC 100 ms
39,844 KB
testcase_11 AC 102 ms
40,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No0272 {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println(sc.nextByte() ^ 1);
	}
}
0