結果

問題 No.1406 Test
ユーザー トミートミー
提出日時 2024-04-12 22:37:37
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 277 bytes
コンパイル時間 414 ms
コンパイル使用メモリ 82,360 KB
実行使用メモリ 66,596 KB
最終ジャッジ日時 2024-04-12 22:37:40
合計ジャッジ時間 2,411 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,080 KB
testcase_01 AC 37 ms
52,736 KB
testcase_02 AC 36 ms
52,480 KB
testcase_03 AC 37 ms
52,584 KB
testcase_04 AC 37 ms
52,532 KB
testcase_05 AC 37 ms
52,340 KB
testcase_06 AC 36 ms
52,200 KB
testcase_07 RE -
testcase_08 AC 38 ms
52,472 KB
testcase_09 RE -
testcase_10 AC 38 ms
52,556 KB
testcase_11 AC 37 ms
53,228 KB
testcase_12 AC 37 ms
53,480 KB
testcase_13 AC 37 ms
52,068 KB
testcase_14 WA -
testcase_15 AC 37 ms
51,824 KB
testcase_16 AC 40 ms
52,348 KB
testcase_17 RE -
testcase_18 AC 36 ms
52,328 KB
testcase_19 WA -
testcase_20 RE -
testcase_21 AC 38 ms
52,828 KB
testcase_22 AC 37 ms
53,572 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    input()
    a=list(map(int,input().split()))
    total=sum(a)
    n=len(a)+1
    cnt=0
    # nで割ったあまりが0ならok
    for i in range(0,100):
        if (total+i)%n==0:
            cnt+=1
    print(cnt)
    


if __name__ == "__main__":
    main()
0