結果
問題 |
No.516 赤と青の風船
|
ユーザー |
![]() |
提出日時 | 2025-03-20 20:40:38 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 82,648 KB |
実行使用メモリ | 53,852 KB |
最終ジャッジ日時 | 2025-03-20 20:40:40 |
合計ジャッジ時間 | 1,063 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 |
ソースコード
count_red = 0 count_blue = 0 for _ in range(3): s = input().strip() if s == "RED": count_red += 1 else: count_blue += 1 if count_red > count_blue: print("RED") else: print("BLUE")