結果
問題 |
No.1198 お菓子配り-1
|
ユーザー |
|
提出日時 | 2020-12-15 22:39:22 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 105 bytes |
コンパイル時間 | 244 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 52,480 KB |
最終ジャッジ日時 | 2024-09-20 02:23:58 |
合計ジャッジ時間 | 1,538 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 WA * 1 |
ソースコード
N = int(input()) if N%2 != 0 or N%4 == 0 and (N**0.5).is_integer() == 0: print(1) else: print(-1)