結果

問題 No.2014 Eggs Hatching
ユーザー AS_math21s
提出日時 2022-07-23 18:07:47
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 26,752 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 07:49:59
合計ジャッジ時間 709 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 14 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main ()
{
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    if(a<=b)
    {
        if(a<=c)
            printf("%d",a); return 0;
        if(a>=c)
            printf("%d",c); 
    }
    if(a>=b)
    {
        if(b<=c)
            printf("%d",b); return 0;
        if(b>=c)
            printf("%d",c); 
    }
}
0