結果

問題 No.36 素数が嫌い!
ユーザー tamakoron
提出日時 2016-11-23 21:48:12
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 31,104 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-27 10:22:44
合計ジャッジ時間 2,111 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 11 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int c,i;long long n;int main(){for(i=scanf("%ld",&n);i<n/i++;)n%i?:(c++,n/=i--);printf(2<c+!n^1?"YES\n":"NO\n");}
0