結果
問題 |
No.1199 お菓子配り-2
|
ユーザー |
|
提出日時 | 2020-08-28 21:44:55 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 127 bytes |
コンパイル時間 | 373 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-14 03:14:07 |
合計ジャッジ時間 | 5,283 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 45 |
ソースコード
n = int(input()) if n == 1 or n == 4: print(-1) exit() while n % 4 == 0: n //= 4 print(-1 if n % 2 == 0 else 1)