結果

問題 No.1256 連続整数列
ユーザー shiomusubi496
提出日時 2020-10-16 21:27:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 234 bytes
コンパイル時間 1,363 ms
コンパイル使用メモリ 164,676 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-21 01:16:17
合計ジャッジ時間 2,112 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
    int N;
    cin>>N;
    for(int i=3;i*i<=N;i++){
        if(N%i==0){
            puts("YES");
            return 0;
        }
    }
    puts("NO");
}
0