結果

問題 No.118 門松列(2)
ユーザー tailstails
提出日時 2019-08-27 15:15:54
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 986 ms / 5,000 ms
コード長 134 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 13,100 KB
最終ジャッジ日時 2024-04-27 16:02:11
合計ジャッジ時間 22,967 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 672 ms
6,812 KB
testcase_01 AC 979 ms
13,096 KB
testcase_02 AC 975 ms
12,820 KB
testcase_03 AC 981 ms
12,964 KB
testcase_04 AC 983 ms
13,096 KB
testcase_05 AC 986 ms
13,100 KB
testcase_06 AC 646 ms
6,940 KB
testcase_07 AC 664 ms
6,944 KB
testcase_08 AC 662 ms
6,940 KB
testcase_09 AC 973 ms
12,544 KB
testcase_10 AC 730 ms
6,944 KB
testcase_11 AC 763 ms
6,940 KB
testcase_12 AC 717 ms
6,944 KB
testcase_13 AC 722 ms
6,944 KB
testcase_14 AC 964 ms
12,404 KB
testcase_15 AC 679 ms
6,940 KB
testcase_16 AC 848 ms
8,576 KB
testcase_17 AC 698 ms
6,940 KB
testcase_18 AC 764 ms
6,940 KB
testcase_19 AC 820 ms
7,680 KB
testcase_20 AC 832 ms
7,936 KB
testcase_21 AC 908 ms
10,784 KB
testcase_22 AC 738 ms
6,944 KB
testcase_23 AC 886 ms
10,112 KB
testcase_24 AC 771 ms
6,940 KB
testcase_25 AC 813 ms
7,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read
$_ a
for a in $a
{((++b[a]))
}
for((i=101;--i;)){
for((j=i;--j;)){
for((t=b[i]*b[k=j];--k;s+=t*b[k])){
:
}
}
}
echo $[s%=10**9+7]
0