結果

問題 No.1406 Test
ユーザー wesoweeen
提出日時 2021-05-30 09:00:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-08 20:40:34
合計ジャッジ時間 1,745 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 18 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    A = list(map(int,input().split()))
    total = sum(A)
    count = 0

    if N == 1:
        print(0)
        exit()
    else:
        for i in range (0, 101):
            if (total + i ) % N == 0:
                count += 1
                print(count)

main()
0