結果

問題 No.272 NOT回路
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 16:18:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 174 bytes
コンパイル時間 3,835 ms
コンパイル使用メモリ 71,764 KB
実行使用メモリ 56,356 KB
最終ジャッジ日時 2023-10-11 12:40:29
合計ジャッジ時間 6,523 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,192 KB
testcase_01 AC 120 ms
55,868 KB
testcase_02 AC 125 ms
55,480 KB
testcase_03 AC 121 ms
55,372 KB
testcase_04 AC 120 ms
55,784 KB
testcase_05 AC 119 ms
55,964 KB
testcase_06 AC 119 ms
56,136 KB
testcase_07 AC 119 ms
56,052 KB
testcase_08 AC 119 ms
55,956 KB
testcase_09 AC 119 ms
55,608 KB
testcase_10 AC 119 ms
56,356 KB
testcase_11 AC 119 ms
55,544 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		System.out.println(sc.nextInt()==0?1:0);
		
	}
}
0