結果
| 問題 | No.1406 Test | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-02-26 21:48:51 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 265 bytes | 
| コンパイル時間 | 246 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-10-02 14:26:31 | 
| 合計ジャッジ時間 | 1,689 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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()
            
            
            
        