結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2015-12-05 23:50:13 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 1,305 ms |
コンパイル使用メモリ | 157,656 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 14:32:21 |
合計ジャッジ時間 | 2,550 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 36 WA * 9 |
ソースコード
#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; }