結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:46:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 267 bytes |
| コンパイル時間 | 112 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-02 14:23:13 |
| 合計ジャッジ時間 | 1,658 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 RE * 4 |
ソースコード
from operator import add
def main():
N = int(input())
A = list(map(int, input().split(" ")))
z = 0
for x in range(0, 101):
s = sum([*A, x])
if (s // N) == (s / N):
z += 1
print(z)
if __name__ == '__main__':
main()