結果
| 問題 |
No.272 NOT回路
|
| コンテスト | |
| ユーザー |
Kinoshita
|
| 提出日時 | 2015-09-06 11:00:19 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 49 ms / 1,000 ms |
| コード長 | 517 bytes |
| コンパイル時間 | 1,760 ms |
| コンパイル使用メモリ | 74,248 KB |
| 実行使用メモリ | 50,272 KB |
| 最終ジャッジ日時 | 2024-07-19 04:21:13 |
| 合計ジャッジ時間 | 2,891 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 11 |
ソースコード
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
static Main byakko = new Main();
static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
public static void main(String[] args)throws IOException{
int x = byakko.Input();
if(x == 0)
System.out.println(1);
else
System.out.println(0);
reader.close();
}
public int Input()throws IOException{
return Integer.parseInt(reader.readLine());
}
}
Kinoshita