結果
問題 | No.414 衝動 |
ユーザー | Yug_min_null |
提出日時 | 2021-10-13 22:20:23 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 306 bytes |
コンパイル時間 | 1,825 ms |
コンパイル使用メモリ | 186,948 KB |
実行使用メモリ | 7,632 KB |
最終ジャッジ日時 | 2023-10-17 19:12:28 |
合計ジャッジ時間 | 5,045 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,348 KB |
testcase_01 | AC | 1 ms
4,348 KB |
testcase_02 | AC | 2 ms
4,348 KB |
testcase_03 | AC | 13 ms
4,348 KB |
testcase_04 | AC | 2 ms
4,348 KB |
testcase_05 | TLE | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
ソースコード
#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; }