結果
| 問題 |
No.1300 Sum of Inversions
|
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2020-11-27 21:25:27 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 154 bytes |
| コンパイル時間 | 402 ms |
| コンパイル使用メモリ | 82,300 KB |
| 実行使用メモリ | 54,156 KB |
| 最終ジャッジ日時 | 2024-07-23 21:57:13 |
| 合計ジャッジ時間 | 4,637 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 34 |
ソースコード
N, = map(int, input().split())
d = 0
for c in bin(N):
if c == "1":
d += 1
if d == 1:
print(-1, -1, -1)
else:
print(N&-N, N-(N&-N), N)
nehan_der_thal