結果
問題 | No.1456 Range Xor |
ユーザー |
👑 |
提出日時 | 2021-05-03 19:52:44 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 202 bytes |
コンパイル時間 | 200 ms |
コンパイル使用メモリ | 6,940 KB |
実行使用メモリ | 7,436 KB |
最終ジャッジ日時 | 2024-07-22 10:19:07 |
合計ジャッジ時間 | 3,183 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 46 |
ソースコード
bxor = bit.bxorn, k = io.read("*n", "*n")z = 0t = {}t[0] = truefor i = 1, n doa = io.read("*n")z = bxor(z, a)if t[bxor(z, k)] then print("Yes") os.exit() endt[z] = trueendprint("No")