結果

問題 No.9010 うるう年判定
ユーザー j9XDAjUr0RfpNYJ
提出日時 2020-04-26 20:38:09
言語 C
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 314 bytes
コンパイル時間 362 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-18 08:27:25
合計ジャッジ時間 4,297 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 25
権限があれば一括ダウンロードができます

ソースコード

diff #


#include<stdio.h>
int main(void)
{
    int year;
    
    printf("Please write Nunber\n");
    scanf("%d",year);
    
    if(year/4){
        printf("Yes\n");
    }else if(year/100){
        printf("No\n");
    }else if(year/400){
        printf("Yes\n");
    }else{
        printf("No\n");
    }
    return 0;
}
0