結果

問題 No.892 タピオカ
ユーザー HAGI_TARO
提出日時 2021-09-06 21:43:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 204 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 82,856 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-12-22 20:19:38
合計ジャッジ時間 1,217 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

AB = list(map(int,input().split()))
cou = 0
if AB[0] % 2 != 0:
    cou += 1
if AB[2] % 2 != 0:
    cou += 1
if AB[4] % 2 != 0:
    cou += 1
if cou == 1 or cou == 3:
    print(":-(")
else:
    print(":-)")
0