結果

問題 No.892 タピオカ
ユーザー ch1channnch1channn
提出日時 2022-12-11 09:50:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 1,000 ms
コード長 388 bytes
コンパイル時間 377 ms
コンパイル使用メモリ 82,256 KB
実行使用メモリ 53,092 KB
最終ジャッジ日時 2024-04-23 07:36:40
合計ジャッジ時間 1,414 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
52,204 KB
testcase_01 AC 40 ms
52,596 KB
testcase_02 AC 39 ms
52,332 KB
testcase_03 AC 39 ms
53,020 KB
testcase_04 AC 39 ms
53,092 KB
testcase_05 AC 41 ms
52,464 KB
testcase_06 AC 41 ms
52,660 KB
testcase_07 AC 41 ms
52,476 KB
testcase_08 AC 43 ms
52,500 KB
権限があれば一括ダウンロードができます

ソースコード

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