結果

問題 No.272 NOT回路
ユーザー yagi2yagi2
提出日時 2017-04-20 15:51:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 144 bytes
コンパイル時間 1,882 ms
コンパイル使用メモリ 71,148 KB
実行使用メモリ 56,132 KB
最終ジャッジ日時 2023-09-27 03:39:04
合計ジャッジ時間 4,169 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 112 ms
55,680 KB
testcase_01 AC 113 ms
55,808 KB
testcase_02 AC 110 ms
56,104 KB
testcase_03 AC 117 ms
55,808 KB
testcase_04 AC 111 ms
56,044 KB
testcase_05 AC 121 ms
55,780 KB
testcase_06 AC 117 ms
56,000 KB
testcase_07 AC 120 ms
55,852 KB
testcase_08 AC 121 ms
56,132 KB
testcase_09 AC 116 ms
56,088 KB
testcase_10 AC 120 ms
56,056 KB
testcase_11 AC 118 ms
56,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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