結果

問題 No.272 NOT回路
ユーザー newlife171128
提出日時 2017-12-20 22:36:43
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 229 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 60,396 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-16 07:21:06
合計ジャッジ時間 1,060 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <sstream>

using namespace std;

int main() {

	int n=0;
	cin>>n;

	if(n ==0){
		cout<<"1"<<endl;
	}else {
		cout<<"0"<<endl;
	}
	return 0;
}

0