結果
問題 |
No.1198 お菓子配り-1
|
ユーザー |
![]() |
提出日時 | 2020-08-28 22:24:11 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 166 bytes |
コンパイル時間 | 362 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 116,836 KB |
最終ジャッジ日時 | 2024-11-14 01:13:15 |
合計ジャッジ時間 | 16,612 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 2 |
other | AC * 2 WA * 7 TLE * 5 |
ソースコード
N = int(input()) for i in range(1, int(N ** 0.5) + 1): if N % i == 0: if N // i - i % 2 == 0: print(1) break else: print(-1)