結果
問題 | No.353 ヘイトプラス |
ユーザー |
|
提出日時 | 2018-12-26 18:17:05 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 113 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-03 22:41:00 |
合計ジャッジ時間 | 619 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
print((function (a, b)local ba,bx,ls = bit.band,bit.bxor,bit.lshiftwhile b ~= 0 do local t=ls(ba(a,b),1) a,b=bx(a,b),t endreturn aend)(io.stdin:read("*n"), io.stdin:read("*n")))