結果

問題 No.9014 テストの合計点と平均点
ユーザー Kei SenpineKei Senpine
提出日時 2022-09-05 16:15:40
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 28,288 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-30 19:24:02
合計ジャッジ時間 690 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>    
int main(void){    
    int j,m,b;
    scanf("%d",&j);
    scanf("%d",&m);
    scanf("%d",&b);
    int T=j+m+b;
    double A=T/3;
    printf("%d\n",T);
    printf("%.1f\n",A);
    
    return 0;
}
0