結果
| 問題 |
No.2637 Factorize?
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 19:57:41 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 346 bytes |
| コンパイル時間 | 2,016 ms |
| コンパイル使用メモリ | 190,888 KB |
| 最終ジャッジ日時 | 2025-02-21 03:27:07 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}