結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2015-12-05 23:50:36 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 1,239 ms |
コンパイル使用メモリ | 157,528 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 14:32:24 |
合計ジャッジ時間 | 2,486 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 39 WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long LL; LL Cxiv_Dxiv(LL n){ for(LL i = 3; i*i <= n; i++)if(n%i==0)return i; return n; } int main() { LL N; cin>>N; cout<<Cxiv_Dxiv(N)<<endl; return 0; }