結果

問題 No.272 NOT回路
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-25 12:17:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 1,000 ms
コード長 187 bytes
コンパイル時間 1,989 ms
コンパイル使用メモリ 73,592 KB
実行使用メモリ 41,344 KB
最終ジャッジ日時 2024-04-15 01:16:39
合計ジャッジ時間 3,898 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
40,312 KB
testcase_01 AC 113 ms
40,336 KB
testcase_02 AC 119 ms
41,088 KB
testcase_03 AC 109 ms
39,972 KB
testcase_04 AC 121 ms
41,120 KB
testcase_05 AC 123 ms
41,244 KB
testcase_06 AC 107 ms
40,272 KB
testcase_07 AC 118 ms
41,136 KB
testcase_08 AC 119 ms
41,344 KB
testcase_09 AC 106 ms
40,068 KB
testcase_10 AC 122 ms
41,216 KB
testcase_11 AC 110 ms
40,108 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