結果

問題 No.272 NOT回路
ユーザー spaciaspacia
提出日時 2015-12-16 20:14:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 351 bytes
コンパイル時間 4,579 ms
コンパイル使用メモリ 71,388 KB
実行使用メモリ 49,520 KB
最終ジャッジ日時 2023-10-14 11:05:20
合計ジャッジ時間 3,259 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
49,200 KB
testcase_01 AC 40 ms
49,164 KB
testcase_02 AC 41 ms
49,208 KB
testcase_03 AC 41 ms
49,488 KB
testcase_04 AC 41 ms
49,512 KB
testcase_05 AC 41 ms
49,200 KB
testcase_06 AC 41 ms
49,520 KB
testcase_07 AC 41 ms
49,292 KB
testcase_08 AC 41 ms
49,328 KB
testcase_09 AC 40 ms
49,204 KB
testcase_10 AC 40 ms
49,264 KB
testcase_11 AC 39 ms
49,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;
import java.math.*;

class Main272 {
	
	public static void out (Object o) {
		System.out.println(o);
	}
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		int x = Integer.parseInt(br.readLine());
		
		out(x^1);
	}
}
0