結果

問題 No.46 はじめのn歩
ユーザー cnyanko1
提出日時 2017-11-23 16:23:41
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 1,363 ms
コンパイル使用メモリ 29,184 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-27 05:36:51
合計ジャッジ時間 1,699 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>

int main(void){

    int a,b,c,d;
    scanf("%d %d",&a,&b);
    c=b%a;
    if(c==0){
        d=c;
    }else{
        d=c+1;
    }
    printf("%d",&d);

    return 0;
}
        
0