結果

問題 No.274 The Wall
ユーザー tails
提出日時 2015-08-28 23:40:30
言語 Perl
(5.40.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 7,448 KB
実行使用メモリ 7,324 KB
最終ジャッジ日時 2025-03-17 18:46:38
合計ジャッジ時間 1,135 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::a" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

<>=~$";$m=$'-1;map{++$a[$_]>2&&exit!print"NO"for//*$`..$',$m-$'..$m-$`}<>;print"YES"
0