結果

問題 No.272 NOT回路
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-25 12:17:03
言語 Java19
(openjdk 21)
結果
AC  
実行時間 136 ms / 1,000 ms
コード長 187 bytes
コンパイル時間 2,046 ms
コンパイル使用メモリ 71,292 KB
実行使用メモリ 56,132 KB
最終ジャッジ日時 2023-07-27 13:15:56
合計ジャッジ時間 4,527 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
55,780 KB
testcase_01 AC 131 ms
56,032 KB
testcase_02 AC 128 ms
55,388 KB
testcase_03 AC 130 ms
55,712 KB
testcase_04 AC 128 ms
55,552 KB
testcase_05 AC 131 ms
56,000 KB
testcase_06 AC 129 ms
55,860 KB
testcase_07 AC 128 ms
55,804 KB
testcase_08 AC 129 ms
55,744 KB
testcase_09 AC 127 ms
55,492 KB
testcase_10 AC 126 ms
56,000 KB
testcase_11 AC 128 ms
56,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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