結果
| 問題 |
No.1298 OR XOR
|
| コンテスト | |
| ユーザー |
burita083
|
| 提出日時 | 2022-05-15 01:26:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 187 bytes |
| コンパイル時間 | 440 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-23 12:54:43 |
| 合計ジャッジ時間 | 1,789 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 12 RE * 1 |
ソースコード
N = int(input())
ans = 0
l = []
for i in range(30):
mask = 1 << i
if N & mask:
ans += 1
l.append(mask)
if len(l) == 1:
print(-1, -1, -1)
else:
print(l[0], sum(l[1:]), N)
burita083