結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2016-03-29 13:43:36 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 444 bytes |
コンパイル時間 | 770 ms |
コンパイル使用メモリ | 72,444 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-02 07:26:10 |
合計ジャッジ時間 | 4,349 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 43 |
ソースコード
#include <algorithm> #include <cstdio> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> #include <time.h> using namespace std; #define ll long long #define INF (1 << 30) #define INFLL (1LL << 60) int main() { ll n; cin >> n; for(ll i = 3;i < 1000000000000;i++){ if(n % i == 0){ cout << i << endl; break; } } return 0; }