結果
問題 |
No.272 NOT回路
|
ユーザー |
|
提出日時 | 2018-04-10 17:50:32 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 165 bytes |
コンパイル時間 | 388 ms |
コンパイル使用メモリ | 53,988 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-26 20:55:04 |
合計ジャッジ時間 | 998 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 WA * 6 |
ソースコード
#include <string> #include <iostream> using namespace std; int main() { int x; cin >> x; if (x == 1) x = 0; if (x == 0) x = 1; cout << x << endl; return 0; }