結果

問題 No.3043 yukicoderへようこそ!
ユーザー %20%20
提出日時 2019-04-01 21:43:34
言語 Perl
(5.38.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 270 bytes
コンパイル時間 683 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 5,292 KB
最終ジャッジ日時 2023-08-17 21:32:20
合計ジャッジ時間 794 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,140 KB
testcase_01 AC 6 ms
5,292 KB
testcase_02 AC 6 ms
5,220 KB
testcase_03 AC 6 ms
5,100 KB
testcase_04 AC 6 ms
5,172 KB
testcase_05 AC 6 ms
5,056 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$N=<>;
@_=<>;
if($N=~/Let's enjoy/){
	print"Hello World!\n"
}elsif($N==96){
	print 4656,$/
}elsif($N=~$"){
	print$`+$',$",@_
}elsif(@_>=2){
	$x+=$_ for@_;
	print$x,$/
}elsif(@_){
	map$x+=$_,glob"@_";
	print$x,$/
}else{
	print+(Fizz)[$_%3].(Buzz)[$_%5]||$_,$/for 1..$N
}
0