結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
wgrape
|
| 提出日時 | 2025-03-12 15:05:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 369 ms |
| コンパイル使用メモリ | 82,104 KB |
| 実行使用メモリ | 67,264 KB |
| 最終ジャッジ日時 | 2025-03-12 15:05:07 |
| 合計ジャッジ時間 | 2,787 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 WA * 5 RE * 4 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
if N == 1:
print(101)
exit(0)
T = sum(A[:-1])
ans = 0
for i in range(101):
if (T + i) % N == 0:
ans += 1
print(ans)
wgrape