結果
問題 | No.9014 テストの合計点と平均点 |
ユーザー | tcltk |
提出日時 | 2021-01-15 15:58:26 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 27 ms / 2,000 ms |
コード長 | 538 bytes |
コンパイル時間 | 494 ms |
コンパイル使用メモリ | 10,516 KB |
実行使用メモリ | 9,564 KB |
最終ジャッジ日時 | 2023-08-17 08:19:22 |
合計ジャッジ時間 | 1,704 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 27 ms
9,564 KB |
testcase_01 | AC | 26 ms
9,520 KB |
testcase_02 | AC | 26 ms
9,448 KB |
testcase_03 | AC | 26 ms
9,484 KB |
testcase_04 | AC | 26 ms
9,416 KB |
testcase_05 | AC | 27 ms
9,424 KB |
ソースコード
#region Header #!/usr/bin/env python3 # from typing import * import sys import io import math import collections import decimal import itertools from queue import PriorityQueue import bisect import heapq def input(): return sys.stdin.readline()[:-1] sys.setrecursionlimit(1000000) #endregion # _INPUT = """# paste here... # """ # sys.stdin = io.StringIO(_INPUT) def main(): a = list(map(int, input().split(','))) print(f'合計点:{sum(a)}') print(f'平均点:{sum(a)/3:.1f}') if __name__ == '__main__': main()