結果

問題 No.1292 パタパタ三角形
ユーザー tailstails
提出日時 2020-11-21 01:43:25
言語 Perl
(5.38.2)
結果
AC  
実行時間 310 ms / 2,000 ms
コード長 66 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 5,236 KB
実行使用メモリ 48,136 KB
最終ジャッジ日時 2023-09-30 20:28:31
合計ジャッジ時間 3,637 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,788 KB
testcase_01 AC 3 ms
4,520 KB
testcase_02 AC 3 ms
4,612 KB
testcase_03 AC 3 ms
4,656 KB
testcase_04 AC 2 ms
4,464 KB
testcase_05 AC 3 ms
4,592 KB
testcase_06 AC 2 ms
4,772 KB
testcase_07 AC 214 ms
27,324 KB
testcase_08 AC 221 ms
27,356 KB
testcase_09 AC 302 ms
47,064 KB
testcase_10 AC 302 ms
46,928 KB
testcase_11 AC 301 ms
46,816 KB
testcase_12 AC 310 ms
48,136 KB
testcase_13 AC 302 ms
47,904 KB
testcase_14 AC 179 ms
21,960 KB
testcase_15 AC 180 ms
21,904 KB
testcase_16 AC 180 ms
21,904 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Name "main::h" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$b=1;$c=2e9;print~~grep{$$_=$s-$$_*2;!$h{$s=$a+$b+$c}++}a,<>=~/./g
0