結果

問題 No.145 yukiover
ユーザー %20%20
提出日時 2018-12-09 04:39:40
言語 Perl
(5.40.0)
結果
AC  
実行時間 66 ms / 5,000 ms
コード長 557 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 7,196 KB
実行使用メモリ 14,208 KB
最終ジャッジ日時 2024-09-16 05:17:29
合計ジャッジ時間 1,911 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "z" may clash with future reserved word at Main.pl line 3.
Unquoted string "z" may clash with future reserved word at Main.pl line 3.
Unquoted string "v" may clash with future reserved word at Main.pl line 4.
Unquoted string "x" may clash with future reserved word at Main.pl line 4.
Unquoted string "l" may clash with future reserved word at Main.pl line 5.
Unquoted string "t" may clash with future reserved word at Main.pl line 5.
Unquoted string "j" may clash with future reserved word at Main.pl line 6.
Unquoted string "j" may clash with future reserved word at Main.pl line 6.
Unquoted string "a" may clash with future reserved word at Main.pl line 7.
Unquoted string "h" may clash with future reserved word at Main.pl line 7.
Main.pl syntax OK

ソースコード

diff #

<>;$$_++for<>=~/./g;

for(z..z){                    --$$_,++$%while                $$_}
for(v..x){--$y,               --$$_,++$%while$y&&            $$_}
for(l..t){--$y,--$u,          --$$_,++$%while$y&&$u&&        $$_}
for(j..j){--$y,--$u,--$k,     --$$_,++$%while$y&&$u&&$k&&    $$_}
for(a..h){--$y,--$u,--$k,--$i,--$$_,++$%while$y&&$u&&$k&&$i&&$$_}
--$y,--$u,--$k,$i-=2,++$%while$y&&$u&&$k&&$i>=2;
--$y,--$u,  $k   -=2,++$%while$y&&$u&&$k    >=2;
--$y,  $u        -=2,++$%while$y&&$u        >=2;
  $y             -=2,++$%while$y            >=2;

print$%
0