結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
wesoweeen
|
| 提出日時 | 2021-05-30 09:06:58 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 569µs | |
| コード長 | 301 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,464 KB |
| 実行使用メモリ | 11,392 KB |
| 最終ジャッジ日時 | 2026-10-20 00:04:28 |
| 合計ジャッジ時間 | 2,405 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
def main():
N = int(input())
if N == 1:
print(101)
exit()
A = list(map(int, input().split()))
total = sum(A)
count = 0
for i in range(0, 101):
if (total + i ) % N == 0:
count += 1
print(count)
if __name__ == '__main__':
main()
wesoweeen