結果
問題 |
No.516 赤と青の風船
|
ユーザー |
|
提出日時 | 2017-08-16 10:54:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 2,000 ms |
コード長 | 215 bytes |
コンパイル時間 | 182 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2024-10-13 12:50:05 |
合計ジャッジ時間 | 871 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 |
ソースコード
S1 = input() S2 = input() S3 = input() R = 0 B = 0 if S1 == 'RED': R += 1 else: B += 1 if S2 == 'RED': R += 1 else: B += 1 if S3 == 'RED': R += 1 else: B += 1 if R > B: print("RED") else: print("BLUE")