結果
問題 |
No.1674 Introduction to XOR
|
ユーザー |
|
提出日時 | 2021-10-13 21:11:03 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 1,000 ms |
コード長 | 241 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,156 KB |
実行使用メモリ | 57,336 KB |
最終ジャッジ日時 | 2024-09-17 16:22:30 |
合計ジャッジ時間 | 2,001 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
n = int(input()) a = list(map(int,input().split())) for i in range(100): flag = True for j in range(n): if 1 & (a[j] >> i): flag = False break if flag: ans = 2 ** i break print(ans)