結果
問題 |
No.414 衝動
|
ユーザー |
![]() |
提出日時 | 2016-08-27 00:34:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 12 ms / 1,000 ms |
コード長 | 311 bytes |
コンパイル時間 | 629 ms |
コンパイル使用メモリ | 54,236 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-15 09:05:46 |
合計ジャッジ時間 | 1,377 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include <iostream> using namespace std; int main(void) { long long int m; cin >> m; cin.tie(0); ios::sync_with_stdio(false); for (long long int i = 2; i * i <= m; i++) { if(!(m%i)) { cout << m/i << " " << i << endl; return 0; } } cout << 1 << " " << m << endl; return 0; }