onlinejudge_template.analyzer.topcoder module¶
the module to parse the class definition of problems of Topcoder from thier HTML
-
onlinejudge_template.analyzer.topcoder.
convert_topcoder_class_definition_to_input_format
(definition: onlinejudge_template.types.TopcoderClassDefinition) → onlinejudge_template.types.FormatNode[source]¶
-
onlinejudge_template.analyzer.topcoder.
convert_topcoder_class_definition_to_input_variables
(definition: onlinejudge_template.types.TopcoderClassDefinition) → Dict[NewType.<locals>.new_type, onlinejudge_template.types.VarDecl][source]¶
-
onlinejudge_template.analyzer.topcoder.
convert_topcoder_class_definition_to_output_format
(definition: onlinejudge_template.types.TopcoderClassDefinition) → onlinejudge_template.types.FormatNode[source]¶
-
onlinejudge_template.analyzer.topcoder.
convert_topcoder_class_definition_to_output_variables
(definition: onlinejudge_template.types.TopcoderClassDefinition) → Dict[NewType.<locals>.new_type, onlinejudge_template.types.VarDecl][source]¶
-
onlinejudge_template.analyzer.topcoder.
parse_topcoder_class_definition
(html: bytes, *, url: str) → onlinejudge_template.types.TopcoderClassDefinition[source]¶ parse_topcoder_class_definition parses the Definition section of the problem from HTML.
Raises: TopcoderParserError –