結果

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

テストケース

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

ソースコード

diff #

#include <stdio.h>

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