結果

問題 No.414 衝動
ユーザー Mcpu3Mcpu3
提出日時 2018-05-10 22:18:36
言語 C
(gcc 12.3.0)
結果
TLE  
実行時間 -
コード長 165 bytes
コンパイル時間 152 ms
コンパイル使用メモリ 27,452 KB
実行使用メモリ 8,756 KB
最終ジャッジ日時 2023-09-10 12:11:40
合計ジャッジ時間 3,248 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>

int main(void)
{
	long long m, i;
	scanf("%lld", &m);
	for (i = 2;; i++) if (!(m%i)) break;
	printf("%lld %lld", i, m / i);
	return 0;
}
0