結果

問題 No.272 NOT回路
ユーザー yun_appyun_app
提出日時 2016-05-11 23:54:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 342 bytes
コンパイル時間 2,154 ms
コンパイル使用メモリ 74,344 KB
実行使用メモリ 37,160 KB
最終ジャッジ日時 2024-04-15 15:15:22
合計ジャッジ時間 3,683 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
37,136 KB
testcase_01 AC 64 ms
37,116 KB
testcase_02 AC 61 ms
36,572 KB
testcase_03 AC 62 ms
36,596 KB
testcase_04 AC 63 ms
37,112 KB
testcase_05 AC 62 ms
37,084 KB
testcase_06 AC 63 ms
37,160 KB
testcase_07 AC 61 ms
37,080 KB
testcase_08 AC 63 ms
37,160 KB
testcase_09 AC 65 ms
36,556 KB
testcase_10 AC 61 ms
36,420 KB
testcase_11 AC 63 ms
36,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone{
    public static void main(String[] args) throws Exception{
        // your code goes here
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        System.out.println(line.equals("0")?1:0);
    }
}
0