結果
| 問題 |
No.809 かけ算
|
| コンテスト | |
| ユーザー |
hntk03
|
| 提出日時 | 2019-04-14 19:29:17 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 394 bytes |
| コンパイル時間 | 1,308 ms |
| コンパイル使用メモリ | 158,648 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-19 08:14:26 |
| 合計ジャッジ時間 | 5,198 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 WA * 1 TLE * 1 -- * 1 |
ソースコード
#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;
}
hntk03