結果
| 問題 |
No.2014 Eggs Hatching
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-19 00:03:15 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 216 bytes |
| コンパイル時間 | 989 ms |
| コンパイル使用メモリ | 27,520 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-06 22:15:42 |
| 合計ジャッジ時間 | 939 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 18 |
ソースコード
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d,%d,%d", &a, &b, &c);
if(a=b=c)
printf("%d", a);
if(a>c&&b>c)
printf("%d", c);
else if(a>b&&c>b)
printf("%d", b);
else if(b>a&&c>a)
printf("%d", a);
return 0;
}