結果

問題 No.1406 Test
ユーザー tobusakanatobusakana
提出日時 2022-10-28 00:59:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 86,776 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-09-18 19:13:30
合計ジャッジ時間 3,213 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,372 KB
testcase_01 AC 76 ms
71,020 KB
testcase_02 AC 79 ms
71,336 KB
testcase_03 AC 77 ms
71,336 KB
testcase_04 AC 76 ms
71,340 KB
testcase_05 AC 74 ms
71,444 KB
testcase_06 AC 77 ms
70,888 KB
testcase_07 AC 77 ms
70,852 KB
testcase_08 AC 78 ms
71,196 KB
testcase_09 AC 77 ms
71,120 KB
testcase_10 AC 77 ms
71,196 KB
testcase_11 AC 76 ms
71,172 KB
testcase_12 AC 77 ms
71,292 KB
testcase_13 AC 77 ms
71,412 KB
testcase_14 AC 78 ms
71,140 KB
testcase_15 AC 78 ms
71,408 KB
testcase_16 AC 78 ms
71,252 KB
testcase_17 AC 78 ms
71,252 KB
testcase_18 AC 78 ms
71,292 KB
testcase_19 AC 76 ms
71,324 KB
testcase_20 AC 76 ms
70,968 KB
testcase_21 AC 76 ms
71,220 KB
testcase_22 AC 76 ms
71,504 KB
testcase_23 AC 76 ms
71,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 1:
  print(101)
  exit(0)
A = list(map(int,input().split()))
Asum = sum(A)

ans = 0
for i in range(101):
  if (Asum + i) % N == 0:
    ans += 1
    
print(ans)
0