結果
問題 | No.8043 yukicoderへようこそ! |
ユーザー |
![]() |
提出日時 | 2019-04-01 21:39:40 |
言語 | Perl (5.40.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 586 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-26 21:51:29 |
合計ジャッジ時間 | 526 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 3 |
コンパイルメッセージ
Warning: Use of "exit-1" without parentheses is ambiguous at Main.pl line 16. Main.pl syntax OK
ソースコード
$N=<>;@_=<>;if($N=~$"){print$`+$',$",@_}elsif(@_>=2){$x+=$_ for@_;print$x,$/}elsif(@_){map$x+=$_,glob"@_";print$x,$/}elsif($N=~/^\d+$/){# print+(Fizz)[$_%3].(Buzz)[$_%5]||$_,$/for 1..$N#}else{print"Hello World!\n"}else{exit-1}