結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:02:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 1,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 144 ms |
| コンパイル使用メモリ | 82,408 KB |
| 実行使用メモリ | 53,684 KB |
| 最終ジャッジ日時 | 2025-03-20 21:03:09 |
| 合計ジャッジ時間 | 977 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
# Read the input values
A1, B1, A2, B2, A3, B3 = map(int, input().split())
# Check each A_i for parity and count the number of odd bases
count = 0
if A1 % 2 != 0:
count += 1
if A2 % 2 != 0:
count += 1
if A3 % 2 != 0:
count += 1
# Determine if the count of odd bases is even
if count % 2 == 0:
print(":-)")
else:
print(":-(")
lam6er