結果
問題 | No.272 NOT回路 |
ユーザー |
![]() |
提出日時 | 2015-10-19 19:31:44 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 278 bytes |
コンパイル時間 | 582 ms |
コンパイル使用メモリ | 71,180 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-21 19:57:48 |
合計ジャッジ時間 | 1,301 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 11 |
ソースコード
#include<iostream> #include<algorithm> #include<vector> #include<set> #include<string> #include<sstream> #include<cctype> #include<functional> #include<iomanip> using namespace std; int main() { int n; cin >> n; if (n)cout << 0 << endl; else cout << 1 << endl; return 0; }