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