結果
| 問題 | No.312 置換処理 |
| コンテスト | |
| ユーザー |
omu
|
| 提出日時 | 2015-12-07 13:42:51 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 368 bytes |
| 記録 | |
| コンパイル時間 | 602 ms |
| コンパイル使用メモリ | 91,524 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 14:14:31 |
| 合計ジャッジ時間 | 1,686 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 39 WA * 6 |
ソースコード
#include <vector>
#include <iostream>
#include <string>
#include <sstream>
#include <algorithm>
#include <utility>
#include <map>
#include <cmath>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> P;
int main(){
ll n;
cin >> n;
for(ll i = 3;i * i <= n;i++){
if(n % i == 0){
cout << i << endl;
return 0;
}
}
cout << n << endl;
return 0;
}
omu