結果

問題 No.892 タピオカ
ユーザー ch1channn
提出日時 2022-12-11 09:50:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 1,000 ms
コード長 388 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 82,260 KB
実行使用メモリ 53,504 KB
最終ジャッジ日時 2024-10-15 07:26:37
合計ジャッジ時間 1,345 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
if sys.platform =='ios':
	import clipboard
	a=clipboard.get()
	a = a.split('\n')
	text = '\n'.join(a)
	with open('input_file.txt','w') as f:
		f.write(text)
	sys.stdin = open('input_file.txt')
	
A = list(map(int,input().split()))
cnt = 0
if A[0]%2 == 1:
	cnt += 1
if A[2]%2 == 1:
	cnt += 1
if A[4]%2 == 1:
	cnt += 1
	
if cnt == 0 or cnt == 2:
	exit(print(":-)"))
	
print(":-(")
0