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