結果
| 問題 | No.2637 Factorize? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 19:57:41 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 346 bytes |
| 記録 | |
| コンパイル時間 | 1,121 ms |
| コンパイル使用メモリ | 209,988 KB |
| 実行使用メモリ | 11,948 KB |
| 最終ジャッジ日時 | 2026-07-04 12:35:23 |
| 合計ジャッジ時間 | 2,430 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 15 |
ソースコード
/**
* auther: deviceF
* created: 19.04.2024 07:15:04
**/
#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
for (int i = 1; i * i <= n; i++) {
if (n % i == 0) {
cout << n / i << " " << i << '\n';
return 0;
}
}
return 0;
}