結果

問題 No.1198 お菓子配り-1
ユーザー 双六双六
提出日時 2020-08-30 02:57:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 346 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 82,408 KB
実行使用メモリ 55,520 KB
最終ジャッジ日時 2024-04-27 01:29:38
合計ジャッジ時間 1,539 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
54,636 KB
testcase_01 AC 37 ms
53,856 KB
testcase_02 AC 37 ms
55,096 KB
testcase_03 AC 56 ms
53,544 KB
testcase_04 AC 38 ms
54,376 KB
testcase_05 AC 38 ms
55,104 KB
testcase_06 AC 37 ms
55,520 KB
testcase_07 AC 39 ms
54,064 KB
testcase_08 AC 38 ms
54,008 KB
testcase_09 AC 38 ms
55,180 KB
testcase_10 AC 37 ms
53,940 KB
testcase_11 AC 37 ms
55,044 KB
testcase_12 AC 38 ms
54,304 KB
testcase_13 AC 37 ms
54,380 KB
testcase_14 AC 39 ms
53,572 KB
testcase_15 AC 39 ms
55,104 KB
testcase_16 WA -
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys; input = sys.stdin.buffer.readline
sys.setrecursionlimit(10**7)
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")

def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	N = int(input())
	if N % 4 != 0 and N % 2 == 0:
		print(-1)
	else:
		print(1)

if __name__ == '__main__':
	main()
0