結果

問題 No.1298 OR XOR
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-10-01 10:32:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 1,264 ms
コンパイル使用メモリ 86,700 KB
実行使用メモリ 71,188 KB
最終ジャッジ日時 2023-09-25 20:51:19
合計ジャッジ時間 3,664 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,056 KB
testcase_01 AC 68 ms
70,836 KB
testcase_02 AC 69 ms
71,160 KB
testcase_03 AC 69 ms
70,916 KB
testcase_04 AC 70 ms
70,936 KB
testcase_05 AC 68 ms
71,152 KB
testcase_06 AC 69 ms
71,060 KB
testcase_07 AC 69 ms
71,064 KB
testcase_08 AC 70 ms
70,796 KB
testcase_09 AC 67 ms
70,996 KB
testcase_10 AC 68 ms
71,188 KB
testcase_11 AC 69 ms
71,024 KB
testcase_12 AC 68 ms
71,084 KB
testcase_13 AC 70 ms
70,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n == n & -n:
    print(-1,-1,-1)
else:
    print(n,n & -n,n ^ (n & -n))
0