結果

問題 No.809 かけ算
ユーザー hntk03hntk03
提出日時 2019-04-14 19:29:17
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 394 bytes
コンパイル時間 1,235 ms
コンパイル使用メモリ 159,464 KB
実行使用メモリ 8,696 KB
最終ジャッジ日時 2023-10-19 12:10:31
合計ジャッジ時間 5,277 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
8,696 KB
testcase_01 WA -
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 1 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 TLE -
testcase_06 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>



using namespace std;

typedef vector<int> VI;
typedef vector<string> VS;


//container util
#define SORT(c) sort((c).begin(),(c).end())

//repetition
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)



int main(void){

	int C; cin >> C;

	FOR(i,2,C+1){
		if(C % i == 0){
			cout << i << " " << C / i << endl;
			break;
		}
	}


	return 0;

}
0