結果
問題 |
No.9014 テストの合計点と平均点
|
ユーザー |
![]() |
提出日時 | 2021-12-15 21:42:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 212 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-23 20:01:44 |
合計ジャッジ時間 | 758 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 3 |
ソースコード
import math sum = 0 for i in map(int,input().split()): sum += i print("合計点:"+str(math.floor(sum))) if (sum ==0): mean = 0.0 else: mean = math.floor(10*sum/ 3)/10 print("平均点:"+str(mean))