結果

問題 No.1198 お菓子配り-1
ユーザー persimmon-persimmonpersimmon-persimmon
提出日時 2021-06-29 21:29:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 101 bytes
コンパイル時間 440 ms
コンパイル使用メモリ 86,552 KB
実行使用メモリ 71,120 KB
最終ジャッジ日時 2023-09-08 06:41:35
合計ジャッジ時間 2,854 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
70,844 KB
testcase_01 AC 67 ms
70,632 KB
testcase_02 AC 67 ms
70,720 KB
testcase_03 AC 65 ms
70,976 KB
testcase_04 AC 65 ms
70,864 KB
testcase_05 AC 64 ms
71,096 KB
testcase_06 AC 67 ms
70,852 KB
testcase_07 AC 69 ms
71,040 KB
testcase_08 AC 67 ms
71,008 KB
testcase_09 AC 65 ms
70,680 KB
testcase_10 AC 68 ms
70,980 KB
testcase_11 AC 68 ms
71,040 KB
testcase_12 AC 67 ms
70,732 KB
testcase_13 AC 66 ms
70,852 KB
testcase_14 AC 67 ms
71,120 KB
testcase_15 AC 70 ms
70,976 KB
testcase_16 AC 66 ms
71,084 KB
testcase_17 AC 66 ms
70,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
if n==1:
  print(-1)
elif n==4:
  print(-1)
elif n%4==2:
  print(-1)
else:
  print(1)
0