結果
| 問題 |
No.892 タピオカ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-11 08:45:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 577 bytes |
| コンパイル時間 | 93 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-12 23:01:43 |
| 合計ジャッジ時間 | 897 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 6 |
ソースコード
def is_even(number):
"""引数で与えられた数値が偶数か判定"""
if number % 2 == 0:
return True
else:
return False
if __name__ == "__main__":
bottoms = []
# 1をはじめとしてタピオカミルクティの本数分ループ
for i in range(1, CONTAINER_NUMBER+1):
bottom = int(input())
index = int(input())
bottoms.append(copy.deepcopy(bottom))
# 底の値より均等に分けられるかどうか判定
if check_divide_even(bottoms):
print(":-)")
else:
print(":-(")