結果

問題 No.1198 お菓子配り-1
ユーザー AEnAEn
提出日時 2022-05-14 09:19:35
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 101 bytes
コンパイル時間 1,117 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 71,460 KB
最終ジャッジ日時 2023-09-29 22:16:58
合計ジャッジ時間 3,843 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,276 KB
testcase_01 AC 63 ms
71,172 KB
testcase_02 AC 69 ms
71,320 KB
testcase_03 AC 61 ms
70,980 KB
testcase_04 AC 70 ms
71,008 KB
testcase_05 AC 68 ms
71,168 KB
testcase_06 AC 65 ms
71,220 KB
testcase_07 AC 63 ms
71,188 KB
testcase_08 AC 61 ms
71,184 KB
testcase_09 AC 63 ms
71,024 KB
testcase_10 AC 64 ms
71,200 KB
testcase_11 AC 61 ms
71,004 KB
testcase_12 AC 61 ms
71,204 KB
testcase_13 AC 64 ms
71,036 KB
testcase_14 AC 66 ms
71,048 KB
testcase_15 AC 70 ms
70,888 KB
testcase_16 WA -
testcase_17 AC 66 ms
70,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N%2 == 1:
    print(1)
elif N%4 == 0 and N >= 8:
    print(1)
else:
    print(-1)
0