結果

問題 No.2751 429-like Number
ユーザー FplusFplusF
提出日時 2024-05-10 21:36:33
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 250 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 39,232 KB
最終ジャッジ日時 2024-12-20 04:38:16
合計ジャッジ時間 106,991 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 6
other AC * 1 TLE * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import subprocess
q=int(input())
for i in range(q):
    a=int(input())
    s=subprocess.run("factor {}".format(a),shell=True,text=True,stdout=subprocess.PIPE).stdout
    v=s.split()
    if len(v)==4:
        print("Yes")
    else:
        print("No")
0