結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-02-26 21:24:43 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 2,000 ms |
| + 450µs | |
| コード長 | 175 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 80,384 KB |
| 実行使用メモリ | 54,272 KB |
| 最終ジャッジ日時 | 2026-09-09 00:21:53 |
| 合計ジャッジ時間 | 2,200 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
n = int(input())
if n == 1:
print(101)
exit()
s = (-sum(map(int, input().split()))) % n
ans = 0
for i in range(0, 101):
if i % n == s:
ans += 1
print(ans)
Kude