結果

問題 No.207 世界のなんとか
ユーザー togaerrortogaerror
提出日時 2015-05-19 00:24:48
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 305 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 11,416 KB
実行使用メモリ 11,540 KB
最終ジャッジ日時 2023-09-20 10:00:03
合計ジャッジ時間 2,282 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 53 ms
11,124 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 41 ms
11,180 KB
testcase_07 AC 42 ms
11,184 KB
testcase_08 AC 42 ms
11,396 KB
testcase_09 AC 47 ms
11,232 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 40 ms
11,096 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use warnings;
use bigint;

my ($m, $n) = split / /, <>;

for(my $i = $m; $i < $n; $i++ ) {
	if($i % 3 == 0) {
		print "$i\n";
	} else {
		my @array = split //, $i;
		for(my $j = 0; $j < $#array + 1; $j++) {
			if($array[$j] eq '3') {
				print "$i\n";
			}
		}
	}
}

exit;
0