結果

問題 No.809 かけ算
ユーザー matecha
提出日時 2019-05-09 15:51:07
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 279 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 28,544 KB
実行使用メモリ 13,756 KB
最終ジャッジ日時 2024-07-02 00:49:39
合計ジャッジ時間 4,473 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 4 TLE * 1 -- * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>


int main(void){

    printf("C: 1 <= C <= 10^10\n");
    int c ;
    scanf("%d",&c);
    for(int i = 2; i <= c; i++){
        int number = c % i;
        if(number == 0){
            printf("%d * %d \n",i,c/i);
            break;
        }
        
    }


}
0