結果

問題 No.414 衝動
ユーザー tailstails
提出日時 2016-08-26 22:25:49
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 1,000 ms
コード長 122 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 5,348 KB
実行使用メモリ 4,944 KB
最終ジャッジ日時 2023-08-09 13:19:09
合計ジャッジ時間 1,404 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,724 KB
testcase_01 AC 5 ms
4,660 KB
testcase_02 AC 5 ms
4,892 KB
testcase_03 AC 5 ms
4,808 KB
testcase_04 AC 5 ms
4,644 KB
testcase_05 AC 4 ms
4,488 KB
testcase_06 AC 5 ms
4,756 KB
testcase_07 AC 5 ms
4,700 KB
testcase_08 AC 5 ms
4,688 KB
testcase_09 AC 5 ms
4,660 KB
testcase_10 AC 5 ms
4,568 KB
testcase_11 AC 5 ms
4,944 KB
testcase_12 AC 4 ms
4,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@a=`factor`=~/ \d+/g;
if(@a==0){
	print"1 1";
}elsif(@a==1){
	print"1@a";
}else{
	print eval(join"*",@a[1..$#a]),$a[0];
}
0