結果
| 問題 |
No.516 赤と青の風船
|
| コンテスト | |
| ユーザー |
maasin
|
| 提出日時 | 2017-10-30 13:03:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 276 bytes |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-22 10:37:55 |
| 合計ジャッジ時間 | 918 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 6 |
ソースコード
# input
baloon = []
for i in range(3):
baloon.append(input())
# check
print(baloon)
# process
red = 0
blue = 0
for i in baloon:
if i == 'RED':
red += 1
else:
blue += 1
if red>blue:
print('RED')
else:
print('BLUE')
maasin