File size: 2,245 Bytes
f1720ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "task_id": "apple_incremental_game",
  "name": "Apple Incremental Game",
  "category": "Combinatorial Optimization",
  "base_image": "python310",
  "platform": "linux/amd64",
  "internet": false,
  "cwd": "/home/workspace/apple_incremental_game",
  "submit_paths": [
    "solution.py"
  ],
  "work": {
    "image_tag": "d3c6ed381c59",
    "specs_dir": "/home/workspace/apple_incremental_game",
    "agent_query": "## Apple Incremental Game - Machine Production (AHC058)\n\nWrite `solution.py` in the project root that reads from stdin and writes to stdout.\n\n---\n\n## Problem Overview\n\nRead `README.md` and `tools/README.md` for full problem details. A baseline `solution.py` already exists (it produces syntactically valid but low-quality output). Your job is to improve it.\n\n---\n\n## Evaluation\n\nYour solution is scored on **50 fixed test cases**. Final score = sum of individual case scores. **Higher is better.**\n\n---\n\n## Local Testing\n\nGenerate local random tests with `./tools/bin/gen <seed>`, using seeds in the range **0..10000** only.\n\n```bash\n# Generate a random test case (seed-based, deterministic)\n./tools/bin/gen 0 > input.txt\n\n# Run your solution\npython3 solution.py < input.txt > output.txt\n\n# Score output (Higher is better)\n./tools/bin/tester input.txt output.txt\n# Outputs to stderr: Score = <N>\n```\n\n---\n\n## Rules\n\n- Write your solution as `solution.py` in the project root directory\n- Do NOT modify files in `tools/`\n- Use `tools/bin/gen` and `tools/bin/tester` for local testing\n- For local scoring, use only `./tools/bin/tester`; do not use `tools/src/verifier.py` for scores\n- Your program should read from stdin and write to stdout\n- Run your solution to completion and verify with the tester before finishing\n"
  },
  "judge": {
    "image_tag": "16968d8ec7f2",
    "eval_cmd": "cd /home/workspace/apple_incremental_game && python3 /tmp/eval_apple_incremental_game.py",
    "eval_timeout": 600,
    "parser": "score_sum",
    "score_direction": "maximize",
    "selection": "score_first",
    "rescale": {
      "kind": "piecewise_max",
      "baseline": 45000000.0,
      "rank30": 262328915.6667,
      "rank1": 282791094.0,
      "super_anchor": 289952856.4167
    }
  }
}