
"""simple docstring"""







from math import sqrt
def    __lowerCAmelCase    (_UpperCamelCase = 100_0000		):
	__lowerCAmelCase      :						int						      =				0
	__lowerCAmelCase      :						int						      =				0
	__lowerCAmelCase      :						int

	while num_cuboids <= limit:
		max_cuboid_size += 1
		for sum_shortest_sides in range(2	,  2 * max_cuboid_size + 1		):
			if sqrt(sum_shortest_sides**2 + max_cuboid_size**2		).is_integer():
				num_cuboids += (
				    min(_UpperCamelCase	,  sum_shortest_sides // 2		)
				    - max(1	,  sum_shortest_sides - max_cuboid_size		)
				    + 1
				)

	return max_cuboid_size


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



"""simple docstring"""







import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import ClassLabel, Features, Value
from .base import TaskTemplate




@dataclass(frozen=_lowerCamelCase)
class 			A__	(     _lowerCamelCase):
		# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
		A_						:	str           =     field(default='text-classification'	,					metadata={'include_in_asdict_even_if_is_default': True})
		A_						:	ClassVar[Features]           =     Features({'text': Value('string')})
		A_						:	ClassVar[Features]           =     Features({'labels': ClassLabel})
		A_						:	str           =     "text"
		A_						:	str           =     "labels"

		def 							__lowerCamelCase							(				self	,		_SCREAMING_SNAKE_CASE			):
			if self.label_column not in features:
				raise ValueError(f"Column {self.label_column} is not present in features."			)
			if not isinstance(features[self.label_column]	,		_SCREAMING_SNAKE_CASE			):
				raise ValueError(f"Column {self.label_column} is not a ClassLabel."			)
			__lowerCAmelCase      :						Any						      =				copy.deepcopy(self			)
			__lowerCAmelCase      :						Dict						      =				self.label_schema.copy()
			__lowerCAmelCase      :						List[Any]						      =				features[self.label_column]
			__lowerCAmelCase      :						Dict						      =				label_schema
			return task_template







		@property
		def 							__lowerCamelCase							(				self			):
			return {
			    self.text_column: "text",
			    self.label_column: "labels",
			}