No.2014 Eggs Hatching
レベル :
/ AI推定難易度 : 96
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 321
作問者 :
tohohogisu
/ テスター :
yuki2006
タグ : / 解いたユーザー数 321
作問者 :
問題文最終更新日: 2022-07-05 16:00:28
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 353 (オムニバス)
(順位表)
の他の問題:
Problem Statement
There are 3 eggs.
The eggs take \(a_{1}\) minutes, \(a_{2}\) minutes, and \(a_{3}\) minutes to hatch, respectively.
Output the time (in minutes) it takes for the fastest-hatching egg to hatch.
Constraints
- \(1\) ≤ \(a_{1}\), \(a_{2}\), \(a_{3}\) ≤ \(100\)
Input
The input is given from standard input in the following format.\(a_{1}\) \(a_{2}\) \(a_{3}\)
Output
Output the time (in minutes) it takes for the fastest-hatching egg to hatch.Sample Input
Sample Input \(1\)
Input
3 6 5
Output
3The eggs take \(3\) minutes, \(6\) minutes, and \(5\) minutes to hatch, respectively. The smallest of these is \(3\).
Sample Input \(2\)
Input
100 100 100
Output
100
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。