結果

問題 No.272 NOT回路
ユーザー YOSHIYOSHI
提出日時 2021-03-08 18:44:56
言語 Java21
(openjdk 21)
結果
AC  
実行時間 53 ms / 1,000 ms
コード長 325 bytes
コンパイル時間 3,377 ms
コンパイル使用メモリ 74,304 KB
実行使用メモリ 50,256 KB
最終ジャッジ日時 2024-04-18 13:49:05
合計ジャッジ時間 4,634 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
50,080 KB
testcase_01 AC 52 ms
50,076 KB
testcase_02 AC 53 ms
50,124 KB
testcase_03 AC 53 ms
50,080 KB
testcase_04 AC 51 ms
50,188 KB
testcase_05 AC 53 ms
50,188 KB
testcase_06 AC 51 ms
50,192 KB
testcase_07 AC 50 ms
50,256 KB
testcase_08 AC 53 ms
50,100 KB
testcase_09 AC 52 ms
49,836 KB
testcase_10 AC 50 ms
50,108 KB
testcase_11 AC 50 ms
50,124 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00000272_Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		System.out.println(1 - Integer.parseInt(br.readLine()));
	}
}
0