結果

問題 No.118 門松列(2)
ユーザー tailstails
提出日時 2019-08-27 15:18:57
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 1,302 ms / 5,000 ms
コード長 132 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 12,972 KB
最終ジャッジ日時 2024-04-28 10:55:31
合計ジャッジ時間 31,000 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 888 ms
6,812 KB
testcase_01 AC 1,279 ms
12,972 KB
testcase_02 AC 1,261 ms
12,692 KB
testcase_03 AC 1,281 ms
12,832 KB
testcase_04 AC 1,302 ms
12,840 KB
testcase_05 AC 1,293 ms
12,968 KB
testcase_06 AC 868 ms
6,940 KB
testcase_07 AC 862 ms
6,944 KB
testcase_08 AC 880 ms
6,940 KB
testcase_09 AC 1,256 ms
12,548 KB
testcase_10 AC 1,041 ms
6,940 KB
testcase_11 AC 1,061 ms
6,944 KB
testcase_12 AC 1,020 ms
6,944 KB
testcase_13 AC 1,006 ms
6,940 KB
testcase_14 AC 1,258 ms
12,276 KB
testcase_15 AC 968 ms
6,940 KB
testcase_16 AC 1,138 ms
8,448 KB
testcase_17 AC 999 ms
6,940 KB
testcase_18 AC 1,099 ms
6,940 KB
testcase_19 AC 1,113 ms
7,680 KB
testcase_20 AC 1,128 ms
7,936 KB
testcase_21 AC 1,208 ms
10,532 KB
testcase_22 AC 1,035 ms
6,940 KB
testcase_23 AC 1,182 ms
9,728 KB
testcase_24 AC 1,055 ms
6,944 KB
testcase_25 AC 1,114 ms
7,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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