結果

問題 No.207 世界のなんとか
ユーザー sironekotorosironekotoro
提出日時 2018-11-20 14:54:08
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 5,120 KB
最終ジャッジ日時 2023-08-26 02:16:33
合計ジャッジ時間 1,232 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,932 KB
testcase_01 AC 5 ms
4,840 KB
testcase_02 AC 5 ms
4,920 KB
testcase_03 AC 5 ms
4,964 KB
testcase_04 AC 5 ms
5,100 KB
testcase_05 AC 5 ms
4,932 KB
testcase_06 AC 5 ms
4,928 KB
testcase_07 AC 5 ms
5,104 KB
testcase_08 AC 5 ms
4,856 KB
testcase_09 AC 5 ms
5,100 KB
testcase_10 AC 5 ms
4,964 KB
testcase_11 AC 5 ms
5,120 KB
testcase_12 AC 5 ms
4,852 KB
testcase_13 AC 5 ms
4,996 KB
testcase_14 AC 5 ms
5,064 KB
testcase_15 AC 5 ms
4,928 KB
testcase_16 AC 5 ms
5,000 KB
testcase_17 AC 5 ms
4,816 KB
testcase_18 AC 5 ms
4,856 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

use strict;
use warnings;

# my ($from, $to) = split / /, "30 40";
my $line = <>;
chomp $line;
my ($from, $to) = split / /, $line;

for my $n ($from .. $to){
    if ($n =~ /3/ || $n % 3 == 0 ){
        print $n, "\n"
    }
}
0