結果

問題 No.1198 お菓子配り-1
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2020-08-28 21:39:43
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 94 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 53,900 KB
最終ジャッジ日時 2024-04-26 12:41:29
合計ジャッジ時間 1,761 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,224 KB
testcase_01 AC 37 ms
53,620 KB
testcase_02 AC 37 ms
51,936 KB
testcase_03 AC 37 ms
51,632 KB
testcase_04 AC 36 ms
53,104 KB
testcase_05 AC 37 ms
52,804 KB
testcase_06 AC 37 ms
53,900 KB
testcase_07 AC 37 ms
52,572 KB
testcase_08 AC 36 ms
51,924 KB
testcase_09 AC 38 ms
52,000 KB
testcase_10 AC 37 ms
51,948 KB
testcase_11 AC 36 ms
52,448 KB
testcase_12 AC 37 ms
52,356 KB
testcase_13 AC 37 ms
52,068 KB
testcase_14 AC 37 ms
52,280 KB
testcase_15 AC 37 ms
53,148 KB
testcase_16 AC 37 ms
52,368 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N != 1 and ( N % 4 == 0 or N % 2 == 1):
    print (1)
else:
    print (-1)
0