結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-12 22:37:37 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 85,212 KB |
| 実行使用メモリ | 66,920 KB |
| 最終ジャッジ日時 | 2026-04-19 04:21:41 |
| 合計ジャッジ時間 | 5,234 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 3 RE * 4 |
ソースコード
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()