diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 13ae403c9..633adec77 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -23,7 +23,8 @@ "extensions": [ "llvm-vs-code-extensions.vscode-clangd", "ms-python.python", - "github.vscode-github-actions" + "github.vscode-github-actions", + "tamasfe.even-better-toml" ] } } diff --git a/datastructure/deque_operate_all_composite/info.toml b/datastructure/deque_operate_all_composite/info.toml index 8c0a00b56..f71e4dbf8 100644 --- a/datastructure/deque_operate_all_composite/info.toml +++ b/datastructure/deque_operate_all_composite/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/815" [[solutions]] name = "bbst.cpp" - wrong = false + [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" diff --git a/datastructure/double_ended_priority_queue/info.toml b/datastructure/double_ended_priority_queue/info.toml index f8dbd29fc..da686f273 100644 --- a/datastructure/double_ended_priority_queue/info.toml +++ b/datastructure/double_ended_priority_queue/info.toml @@ -37,12 +37,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/874" [[solutions]] name = "double_priority_queue.cpp" allow_tle = false - wrong = false + [[solutions]] name = "multiset.cpp" allow_tle = false - wrong = false + [params] N_MIN = 0 diff --git a/datastructure/dynamic_graph_vertex_add_component_sum/info.toml b/datastructure/dynamic_graph_vertex_add_component_sum/info.toml index d01522b73..7f20f7f0f 100644 --- a/datastructure/dynamic_graph_vertex_add_component_sum/info.toml +++ b/datastructure/dynamic_graph_vertex_add_component_sum/info.toml @@ -32,12 +32,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/347" [[solutions]] name = "naive.cpp" - wrong = true - + expect = "TLE" + [params] - N_AND_Q_MIN = 1 - N_AND_Q_MAX = 300_000 - N_AND_Q_SMALL_MAX = 1_000 - A_AND_X_MIN = 0 - A_AND_X_MAX = 1_000_000_000 +N_AND_Q_MIN = 1 +N_AND_Q_MAX = 300_000 +N_AND_Q_SMALL_MAX = 1_000 +A_AND_X_MIN = 0 +A_AND_X_MAX = 1_000_000_000 diff --git a/datastructure/dynamic_sequence_range_affine_range_sum/info.toml b/datastructure/dynamic_sequence_range_affine_range_sum/info.toml index 85b019902..7ab9b18f1 100644 --- a/datastructure/dynamic_sequence_range_affine_range_sum/info.toml +++ b/datastructure/dynamic_sequence_range_affine_range_sum/info.toml @@ -28,7 +28,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/242" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 500_000 diff --git a/datastructure/dynamic_tree_subtree_add_subtree_sum/info.toml b/datastructure/dynamic_tree_subtree_add_subtree_sum/info.toml index 3060b214a..b19e3d62c 100644 --- a/datastructure/dynamic_tree_subtree_add_subtree_sum/info.toml +++ b/datastructure/dynamic_tree_subtree_add_subtree_sum/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/521" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MAX = 200_000 diff --git a/datastructure/dynamic_tree_vertex_add_path_sum/info.toml b/datastructure/dynamic_tree_vertex_add_path_sum/info.toml index 2aaa33e62..b897643b2 100644 --- a/datastructure/dynamic_tree_vertex_add_path_sum/info.toml +++ b/datastructure/dynamic_tree_vertex_add_path_sum/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/223" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_AND_Q_MIN = 1 diff --git a/datastructure/dynamic_tree_vertex_add_subtree_sum/info.toml b/datastructure/dynamic_tree_vertex_add_subtree_sum/info.toml index 390c88711..3863b7e2e 100644 --- a/datastructure/dynamic_tree_vertex_add_subtree_sum/info.toml +++ b/datastructure/dynamic_tree_vertex_add_subtree_sum/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/229" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_AND_Q_MIN = 1 diff --git a/datastructure/dynamic_tree_vertex_set_path_composite/info.toml b/datastructure/dynamic_tree_vertex_set_path_composite/info.toml index 724cb47ca..7976ee4aa 100644 --- a/datastructure/dynamic_tree_vertex_set_path_composite/info.toml +++ b/datastructure/dynamic_tree_vertex_set_path_composite/info.toml @@ -24,7 +24,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/307" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_AND_Q_MIN = 1 diff --git a/datastructure/line_add_get_min/info.toml b/datastructure/line_add_get_min/info.toml index 3aae3c9b8..2241ede60 100644 --- a/datastructure/line_add_get_min/info.toml +++ b/datastructure/line_add_get_min/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/174" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MIN = 1 diff --git a/datastructure/number_of_subsequences/info.toml b/datastructure/number_of_subsequences/info.toml index a258dd1c4..3e4e08e6f 100644 --- a/datastructure/number_of_subsequences/info.toml +++ b/datastructure/number_of_subsequences/info.toml @@ -33,8 +33,7 @@ forum = 'https://github.com/yosupo06/library-checker-problems/issues/811' name = "correct2.cpp" [[solutions]] name = "naive.cpp" - allow_tle = true - wrong = true + expect = "WA" [params] N_MIN = 1 diff --git a/datastructure/persistent_queue/info.toml b/datastructure/persistent_queue/info.toml index b755e3be4..9759f816c 100644 --- a/datastructure/persistent_queue/info.toml +++ b/datastructure/persistent_queue/info.toml @@ -29,10 +29,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/379" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [[solutions]] name = "two_stacks.cpp" - wrong = true + expect = "TLE" [params] Q_MIN = 1 diff --git a/datastructure/persistent_unionfind/info.toml b/datastructure/persistent_unionfind/info.toml index be70a8cda..56aff50ab 100644 --- a/datastructure/persistent_unionfind/info.toml +++ b/datastructure/persistent_unionfind/info.toml @@ -20,10 +20,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/405" [[solutions]] name = "correct_2.cpp" - wrong = false + [[solutions]] name = "conchon_filliatre.cpp" - wrong = true + expect = "TLE" [params] MAX_N = 200_000 diff --git a/datastructure/point_set_range_sort_range_composite/info.toml b/datastructure/point_set_range_sort_range_composite/info.toml index 71c5dcf7a..7bcb04ea3 100644 --- a/datastructure/point_set_range_sort_range_composite/info.toml +++ b/datastructure/point_set_range_sort_range_composite/info.toml @@ -41,7 +41,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/818" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/datastructure/predecessor_problem/info.toml b/datastructure/predecessor_problem/info.toml index 6803bf380..b131b9b88 100644 --- a/datastructure/predecessor_problem/info.toml +++ b/datastructure/predecessor_problem/info.toml @@ -40,12 +40,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/632" [[solutions]] name = "fenwick.cpp" - wrong = false allow_tle = true [[solutions]] name = "set.cpp" - wrong = false allow_tle = true [params] diff --git a/datastructure/queue_operate_all_composite/info.toml b/datastructure/queue_operate_all_composite/info.toml index 1a5fba6af..2d0429478 100644 --- a/datastructure/queue_operate_all_composite/info.toml +++ b/datastructure/queue_operate_all_composite/info.toml @@ -26,4 +26,4 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/208" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" diff --git a/datastructure/range_affine_point_get/info.toml b/datastructure/range_affine_point_get/info.toml index e57ea0a47..2fbe2b9c2 100644 --- a/datastructure/range_affine_point_get/info.toml +++ b/datastructure/range_affine_point_get/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/778" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 500_000 diff --git a/datastructure/range_affine_range_sum/info.toml b/datastructure/range_affine_range_sum/info.toml index 379d826db..2a2511d07 100644 --- a/datastructure/range_affine_range_sum/info.toml +++ b/datastructure/range_affine_range_sum/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/233" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 500_000 diff --git a/datastructure/range_chmin_chmax_add_range_sum/info.toml b/datastructure/range_chmin_chmax_add_range_sum/info.toml index e3bcb46bd..683b3f778 100644 --- a/datastructure/range_chmin_chmax_add_range_sum/info.toml +++ b/datastructure/range_chmin_chmax_add_range_sum/info.toml @@ -31,7 +31,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/243" name = "correct_with_assert.cpp" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 200_000 diff --git a/datastructure/range_kth_smallest/info.toml b/datastructure/range_kth_smallest/info.toml index 953cd146e..61303ff83 100644 --- a/datastructure/range_kth_smallest/info.toml +++ b/datastructure/range_kth_smallest/info.toml @@ -32,7 +32,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/310" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_MIN = 1 diff --git a/datastructure/range_reverse_range_sum/info.toml b/datastructure/range_reverse_range_sum/info.toml index 9b17940b9..b94a85544 100644 --- a/datastructure/range_reverse_range_sum/info.toml +++ b/datastructure/range_reverse_range_sum/info.toml @@ -26,7 +26,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/538" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/datastructure/rectangle_sum/info.toml b/datastructure/rectangle_sum/info.toml index eae1262e3..bf534e540 100644 --- a/datastructure/rectangle_sum/info.toml +++ b/datastructure/rectangle_sum/info.toml @@ -23,4 +23,4 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/118" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" diff --git a/datastructure/segment_add_get_min/info.toml b/datastructure/segment_add_get_min/info.toml index 1f9610172..353a6a556 100644 --- a/datastructure/segment_add_get_min/info.toml +++ b/datastructure/segment_add_get_min/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/211" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MIN = 1 diff --git a/datastructure/static_range_count_distinct/info.toml b/datastructure/static_range_count_distinct/info.toml index 75208c41a..2e11c6beb 100644 --- a/datastructure/static_range_count_distinct/info.toml +++ b/datastructure/static_range_count_distinct/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/770" [[solutions]] name = "naive.cpp" - wrong = false + allow_tle = true [params] diff --git a/datastructure/static_range_inversions_query/info.toml b/datastructure/static_range_inversions_query/info.toml index b3ff1fa74..2b20f088f 100644 --- a/datastructure/static_range_inversions_query/info.toml +++ b/datastructure/static_range_inversions_query/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/563" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MIN = 1 diff --git a/datastructure/static_range_mode_query/info.toml b/datastructure/static_range_mode_query/info.toml index 751214d4f..3561e341b 100644 --- a/datastructure/static_range_mode_query/info.toml +++ b/datastructure/static_range_mode_query/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/959" [[solutions]] name = "naive.cpp" - wrong = false + allow_tle = true [params] diff --git a/datastructure/static_range_sum/info.toml b/datastructure/static_range_sum/info.toml index 5a80c5002..1fbf7f1be 100644 --- a/datastructure/static_range_sum/info.toml +++ b/datastructure/static_range_sum/info.toml @@ -14,7 +14,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/398" [[solutions]] name = "wa.cpp" - wrong = true + expect = "WA" [params] MAX_N = 500_000 diff --git a/datastructure/static_rectangle_add_rectangle_sum/info.toml b/datastructure/static_rectangle_add_rectangle_sum/info.toml index 4936e32f0..b7d3ac6e7 100644 --- a/datastructure/static_rectangle_add_rectangle_sum/info.toml +++ b/datastructure/static_rectangle_add_rectangle_sum/info.toml @@ -25,12 +25,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/771" [[solutions]] name = "tle_1.cpp" - wrong = false allow_tle = true [[solutions]] name = "tle_2.cpp" - wrong = false allow_tle = true diff --git a/datastructure/vertex_add_path_sum/info.toml b/datastructure/vertex_add_path_sum/info.toml index faeb70e7b..d3e62cd69 100644 --- a/datastructure/vertex_add_path_sum/info.toml +++ b/datastructure/vertex_add_path_sum/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/125" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 500_000 diff --git a/datastructure/vertex_add_subtree_sum/info.toml b/datastructure/vertex_add_subtree_sum/info.toml index 7cbca2f26..bce3f90a1 100644 --- a/datastructure/vertex_add_subtree_sum/info.toml +++ b/datastructure/vertex_add_subtree_sum/info.toml @@ -20,4 +20,4 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/167" [[solutions]] name = "naive.cpp" - wrong = true \ No newline at end of file + expect = "RE" \ No newline at end of file diff --git a/datastructure/vertex_set_path_composite/info.toml b/datastructure/vertex_set_path_composite/info.toml index a9f0bc2ea..a652a797a 100644 --- a/datastructure/vertex_set_path_composite/info.toml +++ b/datastructure/vertex_set_path_composite/info.toml @@ -31,7 +31,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/190" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_Q_MAX = 200_000 diff --git a/generate.py b/generate.py index 29410c265..9a8c201ef 100755 --- a/generate.py +++ b/generate.py @@ -396,7 +396,7 @@ def judge(self, src: Path, config: dict): _tmpdir = TemporaryDirectory() tmpdir = _tmpdir.name checker = self.checker - results = set() + results: set[str] = set() logger.info('Start {}'.format(src.name)) @@ -436,23 +436,24 @@ def judge(self, src: Path, config: dict): '{} : {}'.format(case, checker_output.decode('utf-8'))) _tmpdir.cleanup() - allow_status = set() + expect_status: str = config.get('expect', '') # type: ignore + allow_status: set[str] = set() + if expect_status != "": + allow_status.add(expect_status) allow_status.add('AC') - if config.get('wrong', False): - allow_status.update(['WA', 'RE', 'TLE']) - if config.get('allow_tle', False): - allow_status.add('TLE') + if config.get('allow_wa', False): + allow_status.add('WA') if config.get('allow_re', False): allow_status.add('RE') + if config.get('allow_tle', False): + allow_status.add('TLE') if len(results - allow_status) != 0: logger.error('unexpected status was appeared: {} (allowed {})'.format( results, allow_status)) - - if config.get('wrong', False): - if results == {'AC'}: - logger.error('wrong solution got accept: {}'.format(src)) - exit(1) + if expect_status != '' and expect_status not in results: + logger.error('expected status {} was not appeared: {}'.format( + expect_status, results)) def calc_hashes(self) -> MutableMapping[str, str]: hashes: MutableMapping[str, str] = dict() diff --git a/geo/sort_points_by_argument/info.toml b/geo/sort_points_by_argument/info.toml index 3e0d4cb05..f4f5136c1 100644 --- a/geo/sort_points_by_argument/info.toml +++ b/geo/sort_points_by_argument/info.toml @@ -32,7 +32,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/248" [[solutions]] name = "wa.cpp" - wrong = true + expect = "WA" [params] diff --git a/graph/assignment/info.toml b/graph/assignment/info.toml index 114f61bea..accc62ef4 100644 --- a/graph/assignment/info.toml +++ b/graph/assignment/info.toml @@ -24,7 +24,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/38" [[solutions]] name = 'invalid.cpp' - wrong = true + expect = "WA" [params] N_MIN = 1 diff --git a/graph/cartesian_tree/info.toml b/graph/cartesian_tree/info.toml index d31ed56cf..6b3d63579 100644 --- a/graph/cartesian_tree/info.toml +++ b/graph/cartesian_tree/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/554" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_MIN = 1 diff --git a/graph/chordal_graph_recognition/info.toml b/graph/chordal_graph_recognition/info.toml index 49ea82bb2..1024dc379 100644 --- a/graph/chordal_graph_recognition/info.toml +++ b/graph/chordal_graph_recognition/info.toml @@ -40,16 +40,16 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/591" number = 5 [[solutions]] name = "bfs.cpp" - wrong = true + expect = "RE" [[solutions]] name = "dfs.cpp" - wrong = true + expect = "RE" [[solutions]] name = "mcs_wa1.cpp" - wrong = true + expect = "WA" [[solutions]] name = "mcs_wa2.cpp" - wrong = true + expect = "WA" [params] N_MIN = 1 diff --git a/graph/common_interval_decomposition_tree/info.toml b/graph/common_interval_decomposition_tree/info.toml index 5937a9ed8..a64f81ec4 100644 --- a/graph/common_interval_decomposition_tree/info.toml +++ b/graph/common_interval_decomposition_tree/info.toml @@ -35,13 +35,14 @@ forum = 'https://github.com/yosupo06/library-checker-problems/issues/744' [[solutions]] name = "other_correct.cpp" - wrong = false + [[solutions]] name = "WA1.cpp" - wrong = true + expect = "WA" [[solutions]] name = "WA2.cpp" - wrong = true + expect = "WA" + [params] P_MIN = 0 N_MIN = 1 diff --git a/graph/cycle_detection/info.toml b/graph/cycle_detection/info.toml index e4a103b0a..410398ed7 100644 --- a/graph/cycle_detection/info.toml +++ b/graph/cycle_detection/info.toml @@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/534" [[solutions]] name = 'source_zero.cpp' - wrong = true + expect = "TLE" [params] N_MIN = 2 diff --git a/graph/enumerate_cliques/info.toml b/graph/enumerate_cliques/info.toml index ac535f790..7edba73dc 100644 --- a/graph/enumerate_cliques/info.toml +++ b/graph/enumerate_cliques/info.toml @@ -32,7 +32,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/820" [[solutions]] name = 'naive.cpp' - wrong = true + expect = "TLE" [params] N_MIN = 1 diff --git a/graph/enumerate_triangles/info.toml b/graph/enumerate_triangles/info.toml index 983ae426e..3f11a82b8 100644 --- a/graph/enumerate_triangles/info.toml +++ b/graph/enumerate_triangles/info.toml @@ -29,13 +29,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/442" [[solutions]] name = 'naive.cpp' - wrong = true + expect = "WA" [[solutions]] name = 'correct_slow.cpp' - wrong = false [[solutions]] name = "deg_2.cpp" - wrong = true + expect = "TLE" [params] N_MIN = 1 diff --git a/graph/jump_on_tree/info.toml b/graph/jump_on_tree/info.toml index fad9d3a08..768af3aef 100644 --- a/graph/jump_on_tree/info.toml +++ b/graph/jump_on_tree/info.toml @@ -33,11 +33,11 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/809" [[solutions]] name = "tle.cpp" - wrong = true + expect = "TLE" [[solutions]] name = "doubling_correct.cpp" - wrong = false + [params] N_MIN = 2 diff --git a/graph/k_shortest_walk/info.toml b/graph/k_shortest_walk/info.toml index 86092c0c4..0de92056e 100644 --- a/graph/k_shortest_walk/info.toml +++ b/graph/k_shortest_walk/info.toml @@ -44,13 +44,13 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/509" [[solutions]] name = "wa1.cpp" - wrong = true + expect = "WA" [[solutions]] name = "wa2.cpp" - wrong = true + expect = "WA" [[solutions]] name = "wa3.cpp" - wrong = true + expect = "WA" [params] N_AND_M_MIN = 1 diff --git a/graph/lca/info.toml b/graph/lca/info.toml index 21708755f..0815a5bed 100644 --- a/graph/lca/info.toml +++ b/graph/lca/info.toml @@ -32,7 +32,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/35" [[solutions]] name = "tle.cpp" - wrong = true + expect = "TLE" [params] N_MIN = 2 diff --git a/graph/manhattanmst/info.toml b/graph/manhattanmst/info.toml index 5f2eb51ec..084f18d7c 100644 --- a/graph/manhattanmst/info.toml +++ b/graph/manhattanmst/info.toml @@ -23,4 +23,4 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/180" [[solutions]] name = "naive.cpp" - wrong = true \ No newline at end of file + expect = "RE" \ No newline at end of file diff --git a/graph/rooted_tree_isomorphism_classification/info.toml b/graph/rooted_tree_isomorphism_classification/info.toml index dd457ee87..21b274a32 100644 --- a/graph/rooted_tree_isomorphism_classification/info.toml +++ b/graph/rooted_tree_isomorphism_classification/info.toml @@ -33,7 +33,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/796" [[solutions]] name = "linear-time.cpp" allow_tle = false - wrong = false + [params] N_MIN = 1 diff --git a/graph/scc/info.toml b/graph/scc/info.toml index a4a4cbdea..6193363cd 100644 --- a/graph/scc/info.toml +++ b/graph/scc/info.toml @@ -17,4 +17,4 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/36" [[solutions]] name = 'reverse_order.cpp' - wrong = true \ No newline at end of file + expect = "WA" \ No newline at end of file diff --git a/graph/shortest_path/info.toml b/graph/shortest_path/info.toml index 1810e37e7..05c2bc71a 100644 --- a/graph/shortest_path/info.toml +++ b/graph/shortest_path/info.toml @@ -50,22 +50,22 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/173" [[solutions]] name = 'wrong_dijkstra_0.cpp' - wrong = true + expect = "TLE" [[solutions]] name = 'wrong_dijkstra_1.cpp' - wrong = true + expect = "TLE" [[solutions]] name = 'wrong_dijkstra_2.cpp' - wrong = true + expect = "TLE" [[solutions]] name = 'wrong_dijkstra_3.cpp' - wrong = true + expect = "TLE" [[solutions]] name = 'spfa_slf.cpp' - wrong = true + expect = "TLE" [[solutions]] name = 'spfa_lll.cpp' - wrong = true + expect = "TLE" [params] N_MIN = 2 diff --git a/graph/three_edge_connected_components/info.toml b/graph/three_edge_connected_components/info.toml index 475b535c7..a11175446 100644 --- a/graph/three_edge_connected_components/info.toml +++ b/graph/three_edge_connected_components/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/360" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MIN = 1 diff --git a/graph/tree_path_composite_sum/info.toml b/graph/tree_path_composite_sum/info.toml index 15de84e60..77c7426cb 100644 --- a/graph/tree_path_composite_sum/info.toml +++ b/graph/tree_path_composite_sum/info.toml @@ -17,7 +17,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/861" [[solutions]] name = "naive.cpp" - wrong = true + expect = "WA" [params] N_MIN = 1 diff --git a/graph/two_edge_connected_components/info.toml b/graph/two_edge_connected_components/info.toml index 4fb3b6e32..29f475116 100644 --- a/graph/two_edge_connected_components/info.toml +++ b/graph/two_edge_connected_components/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/366" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MIN = 1 diff --git a/graph/vertex_add_range_contour_sum_on_tree/info.toml b/graph/vertex_add_range_contour_sum_on_tree/info.toml index 9c55f81d1..22af34fde 100644 --- a/graph/vertex_add_range_contour_sum_on_tree/info.toml +++ b/graph/vertex_add_range_contour_sum_on_tree/info.toml @@ -60,12 +60,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/816" [[solutions]] name = "correct_invertible.cpp" allow_tle = false - wrong = false + [[solutions]] name = "tle.cpp" allow_tle = true - wrong = false + [params] N_MIN = 1 diff --git a/graph/vertex_get_range_contour_add_on_tree/info.toml b/graph/vertex_get_range_contour_add_on_tree/info.toml index bc0a06fe5..0e7907e32 100644 --- a/graph/vertex_get_range_contour_add_on_tree/info.toml +++ b/graph/vertex_get_range_contour_add_on_tree/info.toml @@ -60,12 +60,12 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/831" [[solutions]] name = "correct_invertible.cpp" allow_tle = false - wrong = false + [[solutions]] name = "tle.cpp" allow_tle = true - wrong = false + [params] N_MIN = 1 diff --git a/math/binomial_coefficient/info.toml b/math/binomial_coefficient/info.toml index c1514d211..98c2fe305 100644 --- a/math/binomial_coefficient/info.toml +++ b/math/binomial_coefficient/info.toml @@ -41,7 +41,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/593" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] T_MAX = 200_000 diff --git a/math/bitwise_and_convolution/info.toml b/math/bitwise_and_convolution/info.toml index 2f500f63f..81bc5fc3a 100644 --- a/math/bitwise_and_convolution/info.toml +++ b/math/bitwise_and_convolution/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/619" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_MAX = 20 diff --git a/math/bitwise_xor_convolution/info.toml b/math/bitwise_xor_convolution/info.toml index 68f75c672..a3fed31d7 100644 --- a/math/bitwise_xor_convolution/info.toml +++ b/math/bitwise_xor_convolution/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/622" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_MAX = 20 diff --git a/math/characteristic_polynomial/info.toml b/math/characteristic_polynomial/info.toml index af864d798..1dfaf09e6 100644 --- a/math/characteristic_polynomial/info.toml +++ b/math/characteristic_polynomial/info.toml @@ -22,7 +22,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/665" number = 2 [[solutions]] name = "n_4.cpp" - wrong = true + expect = "RE" [params] N_MAX = 500 MOD = 998244353 \ No newline at end of file diff --git a/math/composition_of_formal_power_series/info.toml b/math/composition_of_formal_power_series/info.toml index 57785c8d4..2bede0985 100644 --- a/math/composition_of_formal_power_series/info.toml +++ b/math/composition_of_formal_power_series/info.toml @@ -25,7 +25,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/569" allow_tle = true [[solutions]] name = "wa.cpp" - wrong = true + expect = "RE" [params] N_MAX = 8_000 N_SMALL_MAX = 10 diff --git a/math/composition_of_formal_power_series_large/info.toml b/math/composition_of_formal_power_series_large/info.toml index 5a38b75f9..b887cf20c 100644 --- a/math/composition_of_formal_power_series_large/info.toml +++ b/math/composition_of_formal_power_series_large/info.toml @@ -23,6 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/1112" [[tests]] name = "hack2.cpp" number = 3 + [[solutions]] name = "small_correct.cpp" allow_re = true @@ -31,8 +32,8 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/1112" allow_re = true [[solutions]] name = "wa.cpp" - wrong = true - allow_tle = true + expect = "WA" + [params] N_MAX = 131_072 N_MID_MAX = 8_000 diff --git a/math/compositional_inverse_of_formal_power_series_large/info.toml b/math/compositional_inverse_of_formal_power_series_large/info.toml index 70aed8789..63cf386a8 100644 --- a/math/compositional_inverse_of_formal_power_series_large/info.toml +++ b/math/compositional_inverse_of_formal_power_series_large/info.toml @@ -26,7 +26,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/1112" [[solutions]] name = "small_correct.cpp" - wrong = false allow_re = true [params] diff --git a/math/consecutive_terms_of_linear_recurrent_sequence/info.toml b/math/consecutive_terms_of_linear_recurrent_sequence/info.toml index 2d86e0562..a15df11fb 100644 --- a/math/consecutive_terms_of_linear_recurrent_sequence/info.toml +++ b/math/consecutive_terms_of_linear_recurrent_sequence/info.toml @@ -36,7 +36,6 @@ forum = 'https://github.com/yosupo06/library-checker-problems/issues/1007' [[solutions]] name = "correct_doubling.cpp" - wrong = false allow_tle = true [params] diff --git a/math/convolution_mod/info.toml b/math/convolution_mod/info.toml index 80ec93843..b3acf05e6 100644 --- a/math/convolution_mod/info.toml +++ b/math/convolution_mod/info.toml @@ -41,7 +41,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/42" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [[solutions]] name = "ac_func.cpp" function = true diff --git a/math/convolution_mod_1000000007/info.toml b/math/convolution_mod_1000000007/info.toml index 5c57163b8..ea13b3984 100644 --- a/math/convolution_mod_1000000007/info.toml +++ b/math/convolution_mod_1000000007/info.toml @@ -38,7 +38,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/145" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_M_MAX = 524288 diff --git a/math/convolution_mod_2_64/info.toml b/math/convolution_mod_2_64/info.toml index 4171944cc..e27044b77 100644 --- a/math/convolution_mod_2_64/info.toml +++ b/math/convolution_mod_2_64/info.toml @@ -55,7 +55,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/664" name = "radix3.cpp" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_M_MAX = 524288 diff --git a/math/convolution_mod_large/info.toml b/math/convolution_mod_large/info.toml index f5a8bae90..9559dd7b8 100644 --- a/math/convolution_mod_large/info.toml +++ b/math/convolution_mod_large/info.toml @@ -41,7 +41,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/720" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_AND_M_MAX = 16777216 diff --git a/math/enumerate_primes/info.toml b/math/enumerate_primes/info.toml index 08b88daa4..90c7394b5 100644 --- a/math/enumerate_primes/info.toml +++ b/math/enumerate_primes/info.toml @@ -29,7 +29,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/158" allow_tle = true [[solutions]] name = "linear.cpp" - wrong = true + expect = "RE" [params] N_MIN = 1 diff --git a/math/exp_of_formal_power_series_sparse/info.toml b/math/exp_of_formal_power_series_sparse/info.toml index 74a371d49..53d58c56e 100644 --- a/math/exp_of_formal_power_series_sparse/info.toml +++ b/math/exp_of_formal_power_series_sparse/info.toml @@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/767" [[solutions]] name = "dense_correct.cpp" - wrong = false + [params] N_MIN = 1 diff --git a/math/exp_of_set_power_series/info.toml b/math/exp_of_set_power_series/info.toml index 18317ef5b..bd242fcdf 100644 --- a/math/exp_of_set_power_series/info.toml +++ b/math/exp_of_set_power_series/info.toml @@ -23,7 +23,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/974" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/factorial/info.toml b/math/factorial/info.toml index 656f20d2d..7bc5993ed 100644 --- a/math/factorial/info.toml +++ b/math/factorial/info.toml @@ -17,7 +17,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/128" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true diff --git a/math/factorize/info.toml b/math/factorize/info.toml index 3fe5e4467..b40b739cd 100644 --- a/math/factorize/info.toml +++ b/math/factorize/info.toml @@ -53,10 +53,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/41" [[solutions]] name = "fixed_RNG.cpp" - wrong = true + expect = "TLE" [[solutions]] name = "rho_with_difference_of_square.cpp" - wrong = false + [params] MAX_Q = 100 diff --git a/math/gcd_convolution/info.toml b/math/gcd_convolution/info.toml index c7c7adea4..e77bf4e47 100644 --- a/math/gcd_convolution/info.toml +++ b/math/gcd_convolution/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/749" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MAX = 1000000 diff --git a/math/gcd_of_gaussian_integers/info.toml b/math/gcd_of_gaussian_integers/info.toml index c38a060a8..980a9e739 100644 --- a/math/gcd_of_gaussian_integers/info.toml +++ b/math/gcd_of_gaussian_integers/info.toml @@ -24,7 +24,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/958" [[solutions]] name = "random_correct.cpp" - wrong = false + [params] T_MAX = 100000 diff --git a/math/hafnian_of_matrix/info.toml b/math/hafnian_of_matrix/info.toml index 62da58bb1..fb814f2b4 100644 --- a/math/hafnian_of_matrix/info.toml +++ b/math/hafnian_of_matrix/info.toml @@ -20,10 +20,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/467" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [[solutions]] name = "bitdp.cpp" - wrong = true + expect = "RE" [params] N_MIN = 2 diff --git a/math/intersection_of_f2_vector_spaces/info.toml b/math/intersection_of_f2_vector_spaces/info.toml index c1f7a1d6d..1717b8ee2 100644 --- a/math/intersection_of_f2_vector_spaces/info.toml +++ b/math/intersection_of_f2_vector_spaces/info.toml @@ -33,7 +33,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/923" [[solutions]] name = "wa_size_only.cpp" - wrong = true + expect = "WA" [params] T_MAX = 100_000 diff --git a/math/inv_of_formal_power_series_sparse/info.toml b/math/inv_of_formal_power_series_sparse/info.toml index af6d29930..cf1235762 100644 --- a/math/inv_of_formal_power_series_sparse/info.toml +++ b/math/inv_of_formal_power_series_sparse/info.toml @@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/767" [[solutions]] name = "dense_correct.cpp" - wrong = false + [params] N_MIN = 1 diff --git a/math/kth_term_of_linearly_recurrent_sequence/info.toml b/math/kth_term_of_linearly_recurrent_sequence/info.toml index b06e7af1a..f04df3dd2 100644 --- a/math/kth_term_of_linearly_recurrent_sequence/info.toml +++ b/math/kth_term_of_linearly_recurrent_sequence/info.toml @@ -24,7 +24,7 @@ forum = 'https://github.com/yosupo06/library-checker-problems/issues/601' [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] D_MAX = 100_000 diff --git a/math/lcm_convolution/info.toml b/math/lcm_convolution/info.toml index 8acdedc22..03e833f55 100644 --- a/math/lcm_convolution/info.toml +++ b/math/lcm_convolution/info.toml @@ -26,7 +26,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/749" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MAX = 1000000 diff --git a/math/log_of_formal_power_series_sparse/info.toml b/math/log_of_formal_power_series_sparse/info.toml index c01f93dba..6a97ba9c7 100644 --- a/math/log_of_formal_power_series_sparse/info.toml +++ b/math/log_of_formal_power_series_sparse/info.toml @@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/767" [[solutions]] name = "dense_correct.cpp" - wrong = false + [params] N_MIN = 1 diff --git a/math/many_factorials/info.toml b/math/many_factorials/info.toml index 57906d293..3ca0141df 100644 --- a/math/many_factorials/info.toml +++ b/math/many_factorials/info.toml @@ -20,22 +20,18 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/1058" [[solutions]] name = "correct_log_time_multieval_faster.cpp" - wrong = false allow_tle = false [[solutions]] name = "correct_log_time_multieval.cpp" - wrong = false allow_tle = false [[solutions]] name = "sqrt.cpp" - wrong = false allow_tle = true [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/matrix_det_mod_2/info.toml b/math/matrix_det_mod_2/info.toml index fd9608b57..533526867 100644 --- a/math/matrix_det_mod_2/info.toml +++ b/math/matrix_det_mod_2/info.toml @@ -26,7 +26,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/896" [[solutions]] name = "naive.cpp" - wrong = false allow_re = true [params] diff --git a/math/matrix_product_mod_2/info.toml b/math/matrix_product_mod_2/info.toml index f548535e4..ade007456 100644 --- a/math/matrix_product_mod_2/info.toml +++ b/math/matrix_product_mod_2/info.toml @@ -20,7 +20,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/896" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/min_of_mod_of_linear/info.toml b/math/min_of_mod_of_linear/info.toml index e4b7a591f..0a1c0d92a 100644 --- a/math/min_of_mod_of_linear/info.toml +++ b/math/min_of_mod_of_linear/info.toml @@ -18,7 +18,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/813" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/min_plus_convolution_convex_arbitrary/info.toml b/math/min_plus_convolution_convex_arbitrary/info.toml index 522ae6765..ee8ec9364 100644 --- a/math/min_plus_convolution_convex_arbitrary/info.toml +++ b/math/min_plus_convolution_convex_arbitrary/info.toml @@ -48,7 +48,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/727" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/min_plus_convolution_convex_convex/info.toml b/math/min_plus_convolution_convex_convex/info.toml index a92368aca..bf355b02b 100644 --- a/math/min_plus_convolution_convex_convex/info.toml +++ b/math/min_plus_convolution_convex_convex/info.toml @@ -36,7 +36,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/727" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/mul_mod2n_convolution/info.toml b/math/mul_mod2n_convolution/info.toml index aac8088df..4c798ac4b 100644 --- a/math/mul_mod2n_convolution/info.toml +++ b/math/mul_mod2n_convolution/info.toml @@ -23,7 +23,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/728" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] N_MAX = 20 diff --git a/math/multipoint_evaluation_on_geometric_sequence/info.toml b/math/multipoint_evaluation_on_geometric_sequence/info.toml index c5e7673e3..2ab60ba13 100644 --- a/math/multipoint_evaluation_on_geometric_sequence/info.toml +++ b/math/multipoint_evaluation_on_geometric_sequence/info.toml @@ -26,7 +26,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/906" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/multivariate_convolution/info.toml b/math/multivariate_convolution/info.toml index 37a514798..36b70289e 100644 --- a/math/multivariate_convolution/info.toml +++ b/math/multivariate_convolution/info.toml @@ -29,7 +29,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/633" [[solutions]] name = "naive.cpp" - wrong = true + expect = "TLE" [params] K_MAX = 18 diff --git a/math/multivariate_convolution_cyclic/info.toml b/math/multivariate_convolution_cyclic/info.toml index 220229a89..839bce5cc 100644 --- a/math/multivariate_convolution_cyclic/info.toml +++ b/math/multivariate_convolution_cyclic/info.toml @@ -29,7 +29,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/746" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/polynomial_composite_set_power_series/info.toml b/math/polynomial_composite_set_power_series/info.toml index 3647a997d..69b7eeed1 100644 --- a/math/polynomial_composite_set_power_series/info.toml +++ b/math/polynomial_composite_set_power_series/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/944" [[solutions]] name = "naive.cpp" - wrong = false + allow_tle = true [params] diff --git a/math/polynomial_interpolation_on_geometric_sequence/info.toml b/math/polynomial_interpolation_on_geometric_sequence/info.toml index ff4f312c8..721230513 100644 --- a/math/polynomial_interpolation_on_geometric_sequence/info.toml +++ b/math/polynomial_interpolation_on_geometric_sequence/info.toml @@ -29,7 +29,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/965" [[solutions]] name = "arbitrary_interpolation.cpp" - wrong = false allow_tle = true [params] diff --git a/math/polynomial_root_finding/info.toml b/math/polynomial_root_finding/info.toml index 465dd1a12..d8429c7c9 100644 --- a/math/polynomial_root_finding/info.toml +++ b/math/polynomial_root_finding/info.toml @@ -31,7 +31,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/924" [[solutions]] name = "print_sorted.cpp" number = 1 - wrong = false + [params] N_MAX = 4000 diff --git a/math/pow_of_formal_power_series/info.toml b/math/pow_of_formal_power_series/info.toml index 04de25a3f..df111fee7 100644 --- a/math/pow_of_formal_power_series/info.toml +++ b/math/pow_of_formal_power_series/info.toml @@ -41,7 +41,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/386" [[solutions]] name = "wa_overflow.cpp" - wrong = true + expect = "WA" [params] N_MAX = 500000 diff --git a/math/pow_of_formal_power_series_sparse/info.toml b/math/pow_of_formal_power_series_sparse/info.toml index 4662d9b04..5a1d5c997 100644 --- a/math/pow_of_formal_power_series_sparse/info.toml +++ b/math/pow_of_formal_power_series_sparse/info.toml @@ -33,11 +33,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/767" [[solutions]] name = "dense_correct.cpp" - wrong = false allow_tle = true [[solutions]] name = "wa_overflow.cpp" - wrong = true + expect = "TLE" allow_tle = true [params] diff --git a/math/power_projection_of_set_power_series/info.toml b/math/power_projection_of_set_power_series/info.toml index 38b062429..4f6b0c133 100644 --- a/math/power_projection_of_set_power_series/info.toml +++ b/math/power_projection_of_set_power_series/info.toml @@ -23,7 +23,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/975" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/rational_approximation/info.toml b/math/rational_approximation/info.toml index f6d04c9b7..044a5b12b 100644 --- a/math/rational_approximation/info.toml +++ b/math/rational_approximation/info.toml @@ -39,10 +39,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/960" [[solutions]] name = "no_binary_search.cpp" allow_tle = true - wrong = false + [[solutions]] name = "use_floating_point_number.cpp" - wrong = true + expect = "WA" [params] MAX_T = 100_000 diff --git a/math/sqrt_of_formal_power_series_sparse/info.toml b/math/sqrt_of_formal_power_series_sparse/info.toml index b9671035a..64f52253f 100644 --- a/math/sqrt_of_formal_power_series_sparse/info.toml +++ b/math/sqrt_of_formal_power_series_sparse/info.toml @@ -24,7 +24,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/767" [[solutions]] name = "dense_correct.cpp" - wrong = false allow_tle = true [params] diff --git a/math/stirling_number_of_the_first_kind/info.toml b/math/stirling_number_of_the_first_kind/info.toml index e13f00fb3..d821fb0a6 100644 --- a/math/stirling_number_of_the_first_kind/info.toml +++ b/math/stirling_number_of_the_first_kind/info.toml @@ -35,7 +35,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/336" [[solutions]] name = "slow.cpp" - wrong = false + [params] MOD = 998244353 diff --git a/math/stirling_number_of_the_first_kind_small_p_large_n/info.toml b/math/stirling_number_of_the_first_kind_small_p_large_n/info.toml index 9d4c91c36..d6b3caaab 100644 --- a/math/stirling_number_of_the_first_kind_small_p_large_n/info.toml +++ b/math/stirling_number_of_the_first_kind_small_p_large_n/info.toml @@ -18,7 +18,6 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/817" [[solutions]] name = "naive.cpp" - wrong = false allow_tle = true [params] diff --git a/math/stirling_number_of_the_second_kind_small_p_large_n/info.toml b/math/stirling_number_of_the_second_kind_small_p_large_n/info.toml index 4783c7cf2..72d2fb476 100644 --- a/math/stirling_number_of_the_second_kind_small_p_large_n/info.toml +++ b/math/stirling_number_of_the_second_kind_small_p_large_n/info.toml @@ -18,7 +18,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/817" [[solutions]] name = "naive.cpp" - wrong = false + allow_tle = true [params] diff --git a/math/subset_convolution/info.toml b/math/subset_convolution/info.toml index f9ecfcfca..0d085e474 100644 --- a/math/subset_convolution/info.toml +++ b/math/subset_convolution/info.toml @@ -20,7 +20,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/297" [[solutions]] name = "naive.cpp" - wrong = true + expect = "RE" [params] N_MAX = 20 diff --git a/math/sum_of_exponential_times_polynomial/info.toml b/math/sum_of_exponential_times_polynomial/info.toml index b9413953d..a9f69da0e 100644 --- a/math/sum_of_exponential_times_polynomial/info.toml +++ b/math/sum_of_exponential_times_polynomial/info.toml @@ -17,10 +17,10 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/98" [[solutions]] name = "correct2.cpp" - wrong = false + [[solutions]] name = "brute.cpp" - wrong = true + expect = "TLE" [params] MOD = 998244353 diff --git a/math/sum_of_exponential_times_polynomial_limit/info.toml b/math/sum_of_exponential_times_polynomial_limit/info.toml index 4709bbdcb..c2a2dd79f 100644 --- a/math/sum_of_exponential_times_polynomial_limit/info.toml +++ b/math/sum_of_exponential_times_polynomial_limit/info.toml @@ -14,7 +14,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/99" [[solutions]] name = "eulerian_table.cpp" - wrong = true + expect = "RE" [params] MOD = 998244353 diff --git a/sample/aplusb/info.toml b/sample/aplusb/info.toml index 3442d0c86..0ddf213b1 100644 --- a/sample/aplusb/info.toml +++ b/sample/aplusb/info.toml @@ -11,7 +11,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/32" [[solutions]] name = "wa.cpp" - wrong = true + expect = "WA" [[solutions]] name = "ac_func.cpp" function = true diff --git a/string/enumerate_palindromes/info.toml b/string/enumerate_palindromes/info.toml index 265bd90cc..4c6720de1 100644 --- a/string/enumerate_palindromes/info.toml +++ b/string/enumerate_palindromes/info.toml @@ -24,7 +24,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/574" [[solutions]] name ="naive.cpp" - wrong = true + expect = "TLE" [params] N_MAX = 500000 diff --git a/string/wildcard_pattern_matching/info.toml b/string/wildcard_pattern_matching/info.toml index 3f533fa25..c93de0a58 100644 --- a/string/wildcard_pattern_matching/info.toml +++ b/string/wildcard_pattern_matching/info.toml @@ -31,7 +31,7 @@ forum = "https://github.com/yosupo06/library-checker-problems/issues/931" [[solutions]] name = "mod998244353.cpp" - wrong = true + expect = "WA" [params] S_LEN_MAX = 524288 \ No newline at end of file