結果
問題 |
No.3177 output only nand problem
|
ユーザー |
|
提出日時 | 2025-06-19 11:26:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 557 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 9,856 KB |
最終ジャッジ日時 | 2025-06-19 11:26:40 |
合計ジャッジ時間 | 1,356 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
for i in range(2 ** 3): abc = [] for j in range(3): if (i >> j) & 1: abc.append(1) else: abc.append(0) a, b, c = abc if (not ((not (a & b)) & c)) != (not (a & (not (b & c)))): print (a, b, c) break