結果
問題 |
No.1406 Test
|
ユーザー |
![]() |
提出日時 | 2021-02-26 21:36:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-02 14:09:53 |
合計ジャッジ時間 | 1,673 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 RE * 4 |
ソースコード
N = int(input()) if N == 0: print(101) exit() A = list(map(int, input().split())) S = sum(A) ans = 0 for i in range(1000): if i % N: continue x = i - S if x < 0 or x > 100: continue ans += 1 print(ans)