結果
問題 |
No.1406 Test
|
ユーザー |
![]() |
提出日時 | 2021-02-26 21:43:03 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 198 bytes |
コンパイル時間 | 191 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-10-02 14:18:51 |
合計ジャッジ時間 | 1,754 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
n = int(input()) if n == 1: print(101) exit(0) a = list(map(int, input().split())) s = sum(a) res = 0 for i in range(101): ts = s if (ts + i) % n == 0: res += 1 print(res)