結果

問題 No.809 かけ算
ユーザー _m_c_u_m_c_u
提出日時 2020-11-10 16:53:00
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 258 bytes
コンパイル時間 600 ms
コンパイル使用メモリ 62,336 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-22 17:35:37
合計ジャッジ時間 1,007 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int c;
    cin >> c;
    int i=1;
    while(true){
        if(c%i==0){
            cout << i << " " << c/i << endl;
            return 0;
        }else{
            i++;
        }
    }
    return 0;
}
0