結果
| 問題 |
No.414 衝動
|
| コンテスト | |
| ユーザー |
kurenai3110
|
| 提出日時 | 2016-08-26 22:33:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 258 bytes |
| コンパイル時間 | 449 ms |
| コンパイル使用メモリ | 56,568 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-08 14:35:27 |
| 合計ジャッジ時間 | 3,260 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 TLE * 1 -- * 7 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main()
{
long long int m;
cin >> m;
for (int i = 2; i <= m / 2; i++) {
if (!(m%i)) {
cout << i << " " << m/i << endl;
return 0;
}
}
cout << 1 << " "<<m << endl;
return 0;
}
kurenai3110