結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-06-08 19:12:48 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 249 bytes |
| 記録 | |
| コンパイル時間 | 1,603 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 65,280 KB |
| 最終ジャッジ日時 | 2026-06-08 19:12:57 |
| 合計ジャッジ時間 | 5,085 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 RE * 4 |
ソースコード
# 0から100で全探索。点数合計%N=0となるものをカウント
N = int(input())
A = list(map(int, input().split()))
subtotal = sum(A)
ans = 0
for i in range(101):
if (subtotal + i) % N == 0:
ans += 1
print(ans)