結果
| 問題 |
No.272 NOT回路
|
| コンテスト | |
| ユーザー |
newoota0331
|
| 提出日時 | 2016-09-02 09:49:29 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 136 ms / 1,000 ms |
| コード長 | 421 bytes |
| コンパイル時間 | 4,402 ms |
| コンパイル使用メモリ | 74,088 KB |
| 実行使用メモリ | 41,608 KB |
| 最終ジャッジ日時 | 2024-11-15 17:58:00 |
| 合計ジャッジ時間 | 5,283 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 11 |
ソースコード
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int a;
a = sc.nextInt();
if(a==1){
System.out.println(0);
}else{
System.out.println(1);
}
}
}
newoota0331