結果
問題 |
No.1346 Rectangle
|
ユーザー |
![]() |
提出日時 | 2025-06-12 14:43:04 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,716 KB |
実行使用メモリ | 54,128 KB |
最終ジャッジ日時 | 2025-06-12 14:43:08 |
合計ジャッジ時間 | 1,661 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 17 |
ソースコード
n = int(input()) x = n + 1 if (x & (x - 1)) == 0: print(n) else: print(n - 1)