結果

問題 No.272 NOT回路
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 14:43:03
言語 Java19
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 188 bytes
コンパイル時間 2,561 ms
コンパイル使用メモリ 71,436 KB
実行使用メモリ 56,200 KB
最終ジャッジ日時 2023-07-28 22:10:15
合計ジャッジ時間 4,437 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,724 KB
testcase_01 AC 126 ms
55,780 KB
testcase_02 AC 125 ms
55,832 KB
testcase_03 AC 126 ms
56,200 KB
testcase_04 AC 126 ms
55,852 KB
testcase_05 AC 126 ms
55,660 KB
testcase_06 AC 125 ms
55,776 KB
testcase_07 AC 127 ms
55,700 KB
testcase_08 AC 125 ms
55,468 KB
testcase_09 AC 125 ms
55,460 KB
testcase_10 AC 125 ms
55,892 KB
testcase_11 AC 125 ms
55,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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