結果

問題 No.207 世界のなんとか
ユーザー kuroi_13kuroi_13
提出日時 2017-01-25 10:59:08
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 5,000 ms
コード長 182 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 5,128 KB
最終ジャッジ日時 2023-08-24 21:58:51
合計ジャッジ時間 1,224 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,076 KB
testcase_01 AC 4 ms
5,000 KB
testcase_02 AC 4 ms
5,112 KB
testcase_03 AC 5 ms
5,092 KB
testcase_04 AC 5 ms
4,992 KB
testcase_05 AC 4 ms
4,860 KB
testcase_06 AC 5 ms
4,952 KB
testcase_07 AC 5 ms
5,056 KB
testcase_08 AC 5 ms
5,072 KB
testcase_09 AC 5 ms
5,128 KB
testcase_10 AC 4 ms
4,952 KB
testcase_11 AC 5 ms
4,908 KB
testcase_12 AC 4 ms
5,028 KB
testcase_13 AC 5 ms
4,956 KB
testcase_14 AC 5 ms
4,968 KB
testcase_15 AC 5 ms
4,956 KB
testcase_16 AC 5 ms
4,832 KB
testcase_17 AC 5 ms
4,864 KB
testcase_18 AC 5 ms
4,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

use strict;
use warnings;

my $in = <STDIN>;
chomp $in;
my($start, $end) = split(' ', $in);
for my $i ($start..$end) {
    if($i%3 == 0 or $i =~ m/3/){
        print $i."\n";
    }
}
0