結果
| 問題 |
No.516 赤と青の風船
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-08 21:53:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 2,000 ms |
| コード長 | 240 bytes |
| コンパイル時間 | 472 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-10-06 20:09:33 |
| 合計ジャッジ時間 | 1,008 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
a=input()
b=input()
c=input()
count=0 #red
num=0 #blue
if a=="RED":
count+=1
else:
num+=1
if b=="RED":
count+=1
else:
num+=1
if c=="RED":
count+=1
else:
num+=1
if count<num:
print("BLUE")
else:
print("RED")