結果
| 問題 | No.1198 お菓子配り-1 |
| コンテスト | |
| ユーザー |
brthyyjp
|
| 提出日時 | 2020-08-28 22:23:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 660 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-05-09 15:32:04 |
| 合計ジャッジ時間 | 1,829 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 13 WA * 1 |
ソースコード
n = int(input())
if n%2 == 0:
if n%4 == 0 and n>= 8:
print(1)
else:
print(-1)
else:
if n >= 3:
print(1)
brthyyjp