

from ... import PretrainedConfig


a_      =     {
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}






class _UpperCamelCase				(				__snake_case ):
			'''simple docstring'''







			lowerCamelCase__							     =NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
			lowerCamelCase__							     ='nezha'
			def __init__(      self				:			Any   ,   a				:			Union[str, Any]=2_1128   ,   a				:			Optional[Any]=768   ,   a				:			Any=12   ,   a				:			int=12   ,   a				:			Dict=3072   ,   a				:			List[str]="gelu"   ,   a				:			List[str]=0.1   ,   a				:			Any=0.1   ,   a				:			Tuple=512   ,   a				:			int=64   ,   a				:			Optional[int]=2   ,   a				:			List[str]=0.02   ,   a				:			Optional[int]=1e-12   ,   a				:			int=0.1   ,   a				:			Optional[Any]=0   ,   a				:			List[Any]=2   ,   a				:			List[Any]=3   ,   a				:			str=True   ,   **a				:			Optional[int]   ,   )				->							str:

				"""simple docstring"""

				super().__init__(pad_token_id=snake_case_   ,   bos_token_id=snake_case_   ,   eos_token_id=snake_case_   ,   **snake_case_						)

				SCREAMING_SNAKE_CASE :   Any					  =							vocab_size
				SCREAMING_SNAKE_CASE :   Optional[int]					  =							hidden_size
				SCREAMING_SNAKE_CASE :   Dict					  =							num_hidden_layers
				SCREAMING_SNAKE_CASE :   Optional[int]					  =							num_attention_heads
				SCREAMING_SNAKE_CASE :   List[str]					  =							hidden_act
				SCREAMING_SNAKE_CASE :   List[str]					  =							intermediate_size
				SCREAMING_SNAKE_CASE :   List[Any]					  =							hidden_dropout_prob
				SCREAMING_SNAKE_CASE :   Optional[Any]					  =							attention_probs_dropout_prob
				SCREAMING_SNAKE_CASE :   Optional[int]					  =							max_position_embeddings
				SCREAMING_SNAKE_CASE :   str					  =							max_relative_position
				SCREAMING_SNAKE_CASE :   int					  =							type_vocab_size
				SCREAMING_SNAKE_CASE :   Optional[int]					  =							initializer_range
				SCREAMING_SNAKE_CASE :   Tuple					  =							layer_norm_eps
				SCREAMING_SNAKE_CASE :   Union[str, Any]					  =							classifier_dropout
				SCREAMING_SNAKE_CASE :   Tuple					  =							use_cache






from collections import defaultdict
from math import ceil, sqrt





def 				__lowerCAmelCase(       _SCREAMING_SNAKE_CASE = 1_000_000							,     _SCREAMING_SNAKE_CASE = 10				)							-> int:




    """simple docstring"""




    _A     =							defaultdict(_SCREAMING_SNAKE_CASE				)

    for outer_width in range(3							,     (t_limit // 4) + 2				):
        if outer_width * outer_width > t_limit:
            _A     =							max(
                ceil(sqrt(outer_width * outer_width - t_limit				)				)							,     1				)
        else:
            _A     =							1

        hole_width_lower_bound += (outer_width - hole_width_lower_bound) % 2

        for hole_width in range(_SCREAMING_SNAKE_CASE							,     outer_width - 1							,     2				):
            count[outer_width * outer_width - hole_width * hole_width] += 1

    return sum(1 for n in count.values() if 1 <= n <= 10				)


if __name__ == "__main__":
 print(f"{solution() = }")





