結果

問題 No.272 NOT回路
ユーザー kaoetayakaoetaya
提出日時 2016-11-21 20:07:50
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 178 bytes
コンパイル時間 3,146 ms
コンパイル使用メモリ 72,324 KB
実行使用メモリ 56,084 KB
最終ジャッジ日時 2023-08-18 06:10:52
合計ジャッジ時間 5,541 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
54,000 KB
testcase_01 AC 126 ms
55,764 KB
testcase_02 AC 124 ms
56,020 KB
testcase_03 AC 126 ms
55,756 KB
testcase_04 AC 125 ms
56,076 KB
testcase_05 AC 124 ms
55,896 KB
testcase_06 AC 126 ms
55,948 KB
testcase_07 AC 126 ms
55,656 KB
testcase_08 AC 126 ms
56,084 KB
testcase_09 AC 127 ms
55,468 KB
testcase_10 AC 125 ms
56,016 KB
testcase_11 AC 126 ms
55,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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