結果

問題 No.516 赤と青の風船
ユーザー motimoti
提出日時 2018-05-18 00:27:29
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 45 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 5,060 KB
最終ジャッジ日時 2023-09-10 22:45:00
合計ジャッジ時間 693 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
5,056 KB
testcase_01 AC 5 ms
4,944 KB
testcase_02 AC 5 ms
5,060 KB
testcase_03 AC 5 ms
4,780 KB
testcase_04 AC 5 ms
5,016 KB
testcase_05 AC 5 ms
4,996 KB
testcase_06 AC 5 ms
4,780 KB
testcase_07 AC 4 ms
4,884 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use utf8;
use warnings;

my$c=0;
for (1...3) {
  my$x=<>;
  if($x=~/^R/){
    $c++;
  }
}
print ($c<2?"BLUE":"RED");
0