結果

問題 No.272 NOT回路
ユーザー ueyusueyus
提出日時 2015-09-09 22:15:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 1,000 ms
コード長 193 bytes
コンパイル時間 2,146 ms
コンパイル使用メモリ 71,580 KB
実行使用メモリ 55,784 KB
最終ジャッジ日時 2023-09-26 10:17:51
合計ジャッジ時間 4,524 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,564 KB
testcase_01 AC 132 ms
55,720 KB
testcase_02 AC 126 ms
55,532 KB
testcase_03 AC 127 ms
55,380 KB
testcase_04 AC 127 ms
55,528 KB
testcase_05 AC 127 ms
55,632 KB
testcase_06 AC 135 ms
55,624 KB
testcase_07 AC 127 ms
55,784 KB
testcase_08 AC 128 ms
55,528 KB
testcase_09 AC 128 ms
55,556 KB
testcase_10 AC 129 ms
55,532 KB
testcase_11 AC 131 ms
55,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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