結果

問題 No.809 かけ算
ユーザー matechamatecha
提出日時 2019-05-09 15:54:27
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 279 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 28,116 KB
実行使用メモリ 6,204 KB
最終ジャッジ日時 2023-09-14 17:43:54
合計ジャッジ時間 4,534 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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