結果

問題 No.272 NOT回路
ユーザー funakoshi
提出日時 2019-08-19 16:45:44
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 228 bytes
コンパイル時間 1,056 ms
コンパイル使用メモリ 26,624 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-04 14:30:38
合計ジャッジ時間 720 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
int main(void)
{
    int not;
    scanf("%d",&not);
    if(not==0)
    {
        printf("1");
    }
    else
    {
        printf("0");
    }
    
}
0