結果

問題 No.2014 Eggs Hatching
ユーザー tnakao0123tnakao0123
提出日時 2022-07-23 15:40:31
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 378 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 40,904 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-05 11:22:26
合計ジャッジ時間 825 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

/* -*- coding: utf-8 -*-
 *
 * 2014.cc:  No.2014 Eggs Hatching - yukicoder
 */

#include<cstdio>
#include<algorithm>

using namespace std;

/* constant */

const int N = 3;

/* typedef */

/* global variables */

int as[N];

/* subroutines */

/* main */

int main() {
  for (int i = 0; i < N; i++) scanf("%d", as + i);
  printf("%d\n", *min_element(as, as + N));
  return 0;
}
0