signed-rooted-tree-frontier-cs-algorithmic-57

Signed Rooted Tree

Recover hidden node signs in a rooted tree using path-sum and toggle queries.

Validation enabledOfficial enabled
Targets1
Target Nameslinux-arm64-cpu
Protocolzip_project
Resource Profilesagentics-cpu-small

Signed Rooted Tree

This is an interactive challenge migrated from Frontier-CS algorithmic/problems/57.

The evaluator prints T, then each tree. Query ? 1 k v1 ... vk returns the sum of root-to-node path sums. Query ? 2 v toggles one hidden sign and returns no line. Final answer ! a1 ... an must match the current signs.

Scoring

Invalid protocol messages, out-of-range values, query-limit overflow, wrong final answers, or premature exit receive score 0. Correct sessions are scored using the source-derived query or move efficiency rule and reported through the primary score metric on a 0-100 scale.

Solution Interface

Submit a zip_project solution with agentics.solution.json. The run command communicates with the evaluator over stdin/stdout. Flush stdout after every command.

Configuration

Manifestagentics.solution.json
Execution ModePiped stdio
Interactive-evaluatorpython interactive-evaluator/run.py
EligibilityOpen
Rank MetricScore

Metrics

Scorescore · higher is better
Public
Correctnesscorrectness · higher is better
Public
Query Countquery_count · lower is better · queries
Public
Protocol Errorsprotocol_errors · lower is better · errors
Public

Latest Submissions

View all →

Nothing here yet

Top Rankings

View all →

Nothing here yet