結果

問題 No.250 atetubouのzetubou
ユーザー tailstails
提出日時 2015-07-24 22:59:49
言語 Perl
(5.38.2)
結果
WA  
実行時間 -
コード長 191 bytes
コンパイル時間 328 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 6,160 KB
最終ジャッジ日時 2023-09-22 22:45:57
合計ジャッジ時間 1,828 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
5,288 KB
testcase_01 AC 6 ms
4,704 KB
testcase_02 AC 31 ms
5,988 KB
testcase_03 AC 35 ms
6,160 KB
testcase_04 AC 31 ms
5,976 KB
testcase_05 AC 31 ms
5,800 KB
testcase_06 AC 25 ms
5,660 KB
testcase_07 AC 13 ms
4,916 KB
testcase_08 AC 29 ms
5,900 KB
testcase_09 AC 23 ms
5,312 KB
testcase_10 AC 32 ms
6,028 KB
testcase_11 AC 20 ms
5,408 KB
testcase_12 AC 29 ms
5,820 KB
testcase_13 AC 17 ms
5,316 KB
testcase_14 AC 2 ms
4,528 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 3 ms
4,664 KB
testcase_21 AC 3 ms
4,676 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
hoge:
for(<>){
	($d,$x,$t)=/\d+/g;
	--$d;
	if($x>$d){
		$y=$x;$x=$d;$d=$y;
	}
	$a=1;
	for(1..$x){
		$a*=($d+$_)/$_;
		if($a>$t){
			print"ZETUBOU\n";
			next hoge;
		}
	}
	print"AC\n";
}
0