結果

問題 No.633 バスの運賃
ユーザー tails
提出日時 2018-01-19 22:27:21
言語 Perl
(5.40.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 43 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 5,504 KB
最終ジャッジ日時 2024-12-24 12:37:17
合計ジャッジ時間 581 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Name "main::p" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$\+=/ /&&($p+=$'-$`)*$a[++$i]for@a=<>;print
0