結果
| 問題 | No.1198 お菓子配り-1 |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2025-10-24 21:16:46 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 33 ms / 2,000 ms |
| + 670µs | |
| コード長 | 116 bytes |
| 記録 | |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 64,256 KB |
| 実行使用メモリ | 53,692 KB |
| 最終ジャッジ日時 | 2026-10-21 11:07:00 |
| 合計ジャッジ時間 | 2,583 ms |
|
ジャッジサーバーID (参考情報) |
judge6_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 15 |
ソースコード
N = int(input())
if(N%2 == 1):
print(1 if N != 1 else -1)
else:
print(1 if (N-4)%4 == 0 and N >= 8 else -1)
回転