結果

問題 No.272 NOT回路
ユーザー shinwisteriashinwisteria
提出日時 2018-02-21 22:31:10
言語 Java19
(openjdk 21)
結果
AC  
実行時間 139 ms / 1,000 ms
コード長 225 bytes
コンパイル時間 4,185 ms
コンパイル使用メモリ 83,476 KB
実行使用メモリ 57,692 KB
最終ジャッジ日時 2023-10-19 23:53:36
合計ジャッジ時間 6,398 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
55,344 KB
testcase_01 AC 139 ms
57,412 KB
testcase_02 AC 135 ms
57,164 KB
testcase_03 AC 136 ms
57,140 KB
testcase_04 AC 138 ms
57,392 KB
testcase_05 AC 138 ms
57,364 KB
testcase_06 AC 138 ms
57,692 KB
testcase_07 AC 136 ms
55,576 KB
testcase_08 AC 137 ms
57,360 KB
testcase_09 AC 138 ms
57,364 KB
testcase_10 AC 133 ms
57,172 KB
testcase_11 AC 137 ms
57,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con272 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		s.close();
		System.out.println(Math.abs(1-x));

	}

}
0