Submission #00160
ソースコード
1 2 3 4 5 6 7 8 9 10 11 | #include<stdio.h> int main(){ int a,b,c,d,e; scanf ( "%d %d %d %d %d" ,&a,&b,&c,&d,&e); if (a<40)a=40; if (b<40)b=40; if (c<40)c=40; if (d<40)d=40; if (e<40)e=40; int sum=a+b+c+d+e; printf ( "%d\n" ,sum/5); } |
ステータス
項目 | データ |
---|---|
問題 | 0005 - 平均点 (Average Score) |
ユーザー名 | ei2331 |
投稿日時 | 2024-04-26 16:16:31 |
言語 | C |
状態 | Accepted |
得点 | 10 |
ソースコード長 | 240 Byte |
最大実行時間 | 19 ms |
最大メモリ使用量 | 428 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | set1 | 2 / 2 | *1.txt |
2 | set2 | 2 / 2 | *[12].txt |
3 | set3 | 2 / 2 | *[1-3].txt |
4 | set4 | 2 / 2 | *[1-4].txt |
5 | set5 | 2 / 2 | *[1-5].txt |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # | ||||
---|---|---|---|---|---|---|---|---|
2014-yo-t1-in1.txt | AC | 19 ms | 348 KB |
1
|
2
|
3
|
4
|
5
|
2014-yo-t1-in2.txt | AC | 16 ms | 304 KB |
2
|
3
|
4
|
5
|
|
2014-yo-t1-in3.txt | AC | 18 ms | 324 KB |
3
|
4
|
5
|
||
2014-yo-t1-in4.txt | AC | 16 ms | 372 KB |
4
|
5
|
|||
2014-yo-t1-in5.txt | AC | 19 ms | 428 KB |
5
|