結果

問題 No.312 置換処理
ユーザー troro_kelp
提出日時 2018-10-17 01:03:23
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 374 bytes
コンパイル時間 783 ms
コンパイル使用メモリ 81,636 KB
実行使用メモリ 13,644 KB
最終ジャッジ日時 2024-10-12 18:49:03
合計ジャッジ時間 4,210 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 TLE * 1 -- * 43
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>
#include <set>
#include <cmath>
#include <algorithm>
#include <iomanip>
using ll = long long;
using namespace std;

int main(void)
{
    ll N;
    cin >> N;
    for (int i = 3; i * i <= N; ++i)
    {
        if (N % i == 0)
        {
            cout << i << endl;
            return 0;
        }
    }
    return 0;
}
0