結果

問題 No.3043 yukicoderへようこそ!
ユーザー %20%20
提出日時 2019-04-01 21:43:34
言語 Perl
(5.38.2)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 270 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 6,016 KB
実行使用メモリ 6,016 KB
最終ジャッジ日時 2024-05-05 04:22:30
合計ジャッジ時間 574 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
6,016 KB
testcase_01 AC 6 ms
6,016 KB
testcase_02 AC 7 ms
5,888 KB
testcase_03 AC 7 ms
5,888 KB
testcase_04 AC 7 ms
6,016 KB
testcase_05 AC 6 ms
6,016 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