結果
問題 | No.1406 Test |
ユーザー |
|
提出日時 | 2024-04-21 13:53:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 190 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-13 12:34:09 |
合計ジャッジ時間 | 1,529 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 RE * 4 |
ソースコード
n = int(input())a = list(map(int, input().split()))if n == 1:print(101)exit()t = sum(a)ans = 0for i in range(101):if (t + i) % n == 0:ans += 1print(ans)