結果

問題 No.892 タピオカ
ユーザー SoratopSoratop
提出日時 2020-11-12 12:34:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 7,932 KB
最終ジャッジ日時 2023-09-30 01:14:00
合計ジャッジ時間 805 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,780 KB
testcase_01 WA -
testcase_02 AC 15 ms
7,932 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 14 ms
7,808 KB
testcase_06 AC 14 ms
7,780 KB
testcase_07 WA -
testcase_08 AC 14 ms
7,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=list(map(int,input().split()))[::2]
for i in range(3):
    for j in range(i,3):
        if a[i]%2==0 and  a[j]%2==1 or a[i]%2==1 and a[j]%2==0:
            print(":-(")
            break
    else:
        continue
    break
else:
    print(":-)")
0