結果
問題 |
No.1198 お菓子配り-1
|
ユーザー |
![]() |
提出日時 | 2020-08-28 22:29:07 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 168 bytes |
コンパイル時間 | 175 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 111,568 KB |
最終ジャッジ日時 | 2024-11-14 01:18:53 |
合計ジャッジ時間 | 4,442 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 11 WA * 2 TLE * 1 |
ソースコード
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)