結果

問題 No.2014 Eggs Hatching
ユーザー 田中さとき
提出日時 2022-10-13 12:55:20
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 270 bytes
コンパイル時間 587 ms
コンパイル使用メモリ 27,520 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 11:59:01
合計ジャッジ時間 1,358 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main (void) {
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    if (a <= b && a <= c) {
        printf("%d", a);
    }
    else if (b <= a && b <= c) {
        printf("%d", b);
    }
    else {
        printf("%d", c);
    }
    return 0;
}
0