結果
問題 | No.516 赤と青の風船 |
ユーザー |
![]() |
提出日時 | 2017-10-01 20:39:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 163 bytes |
コンパイル時間 | 191 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-11-15 21:45:51 |
合計ジャッジ時間 | 793 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 |
ソースコード
red = 0blue = 0for i in range(3):if input() == 'RED':red += 1else:blue += 1if red > blue:print("RED")else:print('BLUE')