結果
問題 |
No.1198 お菓子配り-1
|
ユーザー |
![]() |
提出日時 | 2020-08-28 21:29:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 189 bytes |
コンパイル時間 | 313 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 20,992 KB |
最終ジャッジ日時 | 2024-11-13 23:49:17 |
合計ジャッジ時間 | 4,323 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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: ABgap = N//i ABsum = i if (ABgap+ABsum)%2 == 0: print(1) exit() print(-1)