結果

問題 No.414 衝動
ユーザー lunnearlunnear
提出日時 2018-11-15 13:53:32
言語 C++11
(gcc 11.4.0)
結果
TLE  
実行時間 -
コード長 200 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 51,152 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-08-26 01:15:33
合計ジャッジ時間 4,161 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 2 ms
4,376 KB
testcase_03 AC 11 ms
4,380 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 TLE -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

int main()
{
    long long in;
    std::cin >> in;
    
    int i = 2;
    for(; (in % i) != 0; i++);
    
    std::cout << i << " " << (in / i) << std::endl;
    
    return 0;
}
0