結果

問題 No.274 The Wall
ユーザー tailstails
提出日時 2015-08-28 23:40:30
言語 Perl
(5.38.2)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 377 ms
コンパイル使用メモリ 5,284 KB
実行使用メモリ 5,388 KB
最終ジャッジ日時 2023-09-04 02:01:21
合計ジャッジ時間 1,179 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,488 KB
testcase_01 AC 2 ms
4,756 KB
testcase_02 AC 3 ms
4,636 KB
testcase_03 AC 2 ms
4,660 KB
testcase_04 AC 2 ms
4,656 KB
testcase_05 AC 2 ms
4,508 KB
testcase_06 AC 2 ms
4,644 KB
testcase_07 AC 2 ms
4,660 KB
testcase_08 AC 2 ms
4,736 KB
testcase_09 AC 2 ms
4,760 KB
testcase_10 AC 3 ms
5,068 KB
testcase_11 AC 5 ms
5,388 KB
testcase_12 AC 5 ms
5,228 KB
testcase_13 AC 3 ms
4,716 KB
testcase_14 AC 4 ms
4,744 KB
testcase_15 AC 5 ms
4,996 KB
testcase_16 AC 4 ms
5,172 KB
testcase_17 AC 4 ms
5,004 KB
testcase_18 AC 4 ms
5,316 KB
testcase_19 AC 6 ms
5,012 KB
testcase_20 AC 6 ms
5,116 KB
testcase_21 AC 6 ms
5,060 KB
testcase_22 AC 4 ms
4,992 KB
testcase_23 AC 5 ms
5,064 KB
testcase_24 AC 6 ms
5,216 KB
testcase_25 AC 7 ms
4,920 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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