結果
問題 |
No.1674 Introduction to XOR
|
ユーザー |
![]() |
提出日時 | 2022-11-23 15:08:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 233 bytes |
コンパイル時間 | 357 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-24 19:20:42 |
合計ジャッジ時間 | 1,834 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 WA * 9 |
ソースコード
def main(): _ = int(input()) arr = list(map(int, input().split())) for i in range(60): ans = 2 ** i if all(a & ans == 0 for a in arr): exit(print(ans)) if __name__ == "__main__": main()