結果
問題 |
No.414 衝動
|
ユーザー |
|
提出日時 | 2021-10-13 22:20:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 306 bytes |
コンパイル時間 | 1,426 ms |
コンパイル使用メモリ | 187,696 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 16:23:00 |
合計ジャッジ時間 | 4,536 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 TLE * 1 -- * 7 |
ソースコード
#define _GLIBCXX_DEBUG #define ll long long #include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; int main(){ ll M; cin >> M; for(int i = 2; i*i <= M; i++){ if(M%i == 0){ cout << i << " " << M/i << endl; return 0; } } cout << 1 << " " << M << endl; }