結果

問題 No.272 NOT回路
ユーザー ABKZABKZ
提出日時 2021-06-16 07:32:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 107 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-08-28 14:39:48
合計ジャッジ時間 2,108 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,180 KB
testcase_01 AC 69 ms
71,352 KB
testcase_02 AC 70 ms
71,532 KB
testcase_03 AC 69 ms
71,400 KB
testcase_04 AC 69 ms
71,396 KB
testcase_05 AC 70 ms
71,076 KB
testcase_06 AC 71 ms
71,244 KB
testcase_07 AC 70 ms
71,308 KB
testcase_08 AC 71 ms
71,332 KB
testcase_09 AC 69 ms
71,228 KB
testcase_10 AC 71 ms
71,612 KB
testcase_11 AC 70 ms
71,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def NOR(a, b):
  if a == 0 and b == 0:
    return 1
  else:
    return 0

X = int(input())
print(NOR(X, X))
0