結果

問題 No.920 あかあお
ユーザー asdfghjkl;asdfghjkl;
提出日時 2020-03-12 13:51:35
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-28 23:13:59
合計ジャッジ時間 986 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 1 ms
5,376 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//最大 2変数
int min(int a,int b){

    if(a>=b){return b;}
    return a;
}



int main(void){
int x,y,z;
scanf("%d %d %d",&z,&y,&z);

printf("%d\n",min(x,y)+z/2);

}
0