結果
| 問題 | No.1298 OR XOR |
| コンテスト | |
| ユーザー |
Kiri8128
|
| 提出日時 | 2020-11-27 21:22:53 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| + 50µs | |
| コード長 | 89 bytes |
| 記録 | |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,740 KB |
| 最終ジャッジ日時 | 2026-08-24 08:53:27 |
| 合計ジャッジ時間 | 3,172 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 13 |
ソースコード
N = int(input())
e = N & (-N)
if e == N:
print(-1, -1, -1)
else:
print(N^e, N, e)
Kiri8128