結果

問題 No.36 素数が嫌い!
ユーザー MamonboMamonbo
提出日時 2015-11-08 22:26:48
言語 Bash
(Bash 5.1.16)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-10-11 15:22:15
合計ジャッジ時間 1,705 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
4,356 KB
testcase_01 AC 4 ms
4,352 KB
testcase_02 AC 5 ms
4,348 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 5 ms
4,352 KB
testcase_08 AC 5 ms
4,352 KB
testcase_09 AC 5 ms
4,352 KB
testcase_10 AC 4 ms
4,352 KB
testcase_11 AC 5 ms
4,348 KB
testcase_12 AC 4 ms
4,352 KB
testcase_13 WA -
testcase_14 AC 4 ms
4,352 KB
testcase_15 AC 4 ms
4,348 KB
testcase_16 AC 4 ms
4,352 KB
testcase_17 AC 4 ms
4,352 KB
testcase_18 AC 4 ms
4,356 KB
testcase_19 AC 5 ms
4,352 KB
testcase_20 AC 4 ms
4,352 KB
testcase_21 AC 4 ms
4,348 KB
testcase_22 AC 4 ms
4,348 KB
testcase_23 AC 5 ms
4,368 KB
testcase_24 AC 4 ms
4,352 KB
testcase_25 AC 4 ms
4,352 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

read N

declare -a fac=($(factor $N))
#echo ${fac[@]}
#echo ${#fac[@]}
if [ ${#fac[@]} -ge 3 ] ;then
    echo "YES"
else
    echo "NO"
fi
0