結果
| 問題 |
No.516 赤と青の風船
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-28 21:22:07 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 302 bytes |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-21 15:15:10 |
| 合計ジャッジ時間 | 892 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 |
ソースコード
import sys
from itertools import accumulate
from collections import Counter
def solve():
s1 = input()
s2 = input()
s3 = input()
if s1 == s2 == 'RED' or s1 == s3 == 'RED' or s2 == s3 == 'RED':
print('RED')
else:
print('BLUE')
if __name__ == '__main__':
solve()