結果

問題 No.414 衝動
ユーザー suppy193suppy193
提出日時 2017-02-02 10:45:22
言語 C90
(gcc 11.4.0)
結果
TLE  
実行時間 -
コード長 214 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 23,640 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-08-25 17:09:41
合計ジャッジ時間 3,266 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 1 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 <stdio.h>

int main(void) {
	long long int m, i;

	scanf("%lld", &m);
	for(i = 2;i < m;i++){
		if(m % i == 0){
			printf("%lld %lld\n", i, m / i);
			return 0;
		}
	}
	printf("1 %lld\n", m);
	
	return 0;
}
0