結果
| 問題 | No.2014 Eggs Hatching |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-20 13:30:46 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 975 bytes |
| 記録 | |
| コンパイル時間 | 9,517 ms |
| コンパイル使用メモリ | 167,752 KB |
| 実行使用メモリ | 190,280 KB |
| 最終ジャッジ日時 | 2024-10-09 06:29:19 |
| 合計ジャッジ時間 | 16,819 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 18 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (99 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
public class Hello{
public static void Main(){
// Your code here!
int a;
int b;
int c;
string s;
string t;
string u;
s = System.Console.ReadLine();
a = int.Parse(s);
t = System.Console.ReadLine();
b = int.Parse(t);
u = System.Console.ReadLine();
c = int.Parse(u);
if (a <= b){
if (a <= c){
System.Console.WriteLine (a);
}
else {
System.Console.WriteLine (c);
}
}
else if (b <= a){
if (b <= c){
System.Console.WriteLine (b);
}
else {
System.Console.WriteLine (c);
}
}
else if (c <= a){
if (c <= b){
System.Console.WriteLine (c);
}
else {
System.Console.WriteLine (b);
}
}
}
}