結果

問題 No.106 素数が嫌い!2
ユーザー neko_the_shadowneko_the_shadow
提出日時 2024-02-07 12:00:19
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 2,999 ms / 5,000 ms
コード長 98 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 6,676 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-02-07 12:00:42
合計ジャッジ時間 22,612 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,563 ms
6,676 KB
testcase_01 AC 7 ms
6,676 KB
testcase_02 AC 7 ms
6,676 KB
testcase_03 AC 6 ms
6,676 KB
testcase_04 AC 1,624 ms
6,676 KB
testcase_05 AC 2,981 ms
6,676 KB
testcase_06 AC 2,971 ms
6,676 KB
testcase_07 AC 2,951 ms
6,676 KB
testcase_08 AC 197 ms
6,676 KB
testcase_09 AC 196 ms
6,676 KB
testcase_10 AC 2,964 ms
6,676 KB
testcase_11 AC 1,279 ms
6,676 KB
testcase_12 AC 2,999 ms
6,676 KB
testcase_13 AC 7 ms
6,676 KB
testcase_14 AC 6 ms
6,676 KB
testcase_15 AC 8 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read N K;seq $N|factor|awk -vK=$K '{c=0;for(i=1;++i<=NF;)if(p!=$i){c++;p=$i};if(c>=K)print}'|wc -l
0