結果
| 問題 |
No.2014 Eggs Hatching
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-28 17:21:52 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 2,000 ms |
| コード長 | 522 bytes |
| コンパイル時間 | 1,930 ms |
| コンパイル使用メモリ | 73,320 KB |
| 実行使用メモリ | 37,232 KB |
| 最終ジャッジ日時 | 2024-07-18 08:07:38 |
| 合計ジャッジ時間 | 3,797 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] input = br.readLine().split(" ");
int[] a = new int[3];
for(int i = 0; i < 3; i++) a[i] = Integer.parseInt(input[i]);
int min = a[0];
for(int i = 1; i < 3; i++) {
if(min > a[i]) min = a[i];
}
System.out.println(min);
}
}