結果
問題 | No.516 赤と青の風船 |
ユーザー |
![]() |
提出日時 | 2017-06-22 09:14:39 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 314 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-02 10:02:10 |
合計ジャッジ時間 | 712 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 6 |
ソースコード
#import pdb; pdb.set_trace()import sysdef main():red = 0blue = 0for i in range(3):if "RED" == raw_input():red += 1else:blue += 1if red > blue:print "RED"else:print "BLUE"if __name__ == '__main__':main()