結果
| 問題 | No.1406 Test |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-02-26 21:24:43 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 2,000 ms |
| + 66µs | |
| コード長 | 175 bytes |
| 記録 | |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 64,640 KB |
| 実行使用メモリ | 53,760 KB |
| 最終ジャッジ日時 | 2026-10-19 22:48:47 |
| 合計ジャッジ時間 | 2,270 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
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