結果
| 問題 |
No.809 かけ算
|
| コンテスト | |
| ユーザー |
proribone
|
| 提出日時 | 2019-06-03 17:56:40 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 28,672 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-17 20:33:34 |
| 合計ジャッジ時間 | 727 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 6 |
ソースコード
#include<stdio.h>
#include<math.h>
int main(){
int c;
int i;
int t=1;
int a,b;
scanf("%d",&c);
for(i=1;t==1;i++){
if(c%i==0){
a=i;
b=c/i;
t=0;
}
}
printf("%d %d",a,b);
return 0;
}
proribone