cs.AIApr 11, 2026

Credit-Budgeted ICPC-Style Coding: When Agents Must Pay for Every Decision

Authors: Lingfeng Zhou, Junhao Shi, Jin Gao, Dequan Wang

Organizations: Shanghai Jiao Tong University · Shanghai Innovation Institute

Abstract

Current evaluations of autonomous coding agents assume an unrealistic, infinite-resource environment. However, real-world software engineering is a resource-bound competition. As we scale toward large agent swarms, ignoring compute and time costs risks catastrophic budget exhaustion. To shift the focus from isolated accuracy to cost-aware problem-solving, we introduce USACOArena, an interactive ACM-ICPC-style arena driven by a strict "credit" economy. Every generated token, local test, and elapsed second depletes a fixed budget, forcing agents to make strategic trade-offs. Our comprehensive profiling reveals that frontier single agents and swarms currently fail to optimally balance accuracy with these constraints, exhibiting divergent, path-dependent behaviors. Ultimately, USACOArena provides an essential dynamic training ground for developing highly efficient, resource-aware agent architectures.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CodeRescue: Budget-Calibrated Recovery Routing for Coding Agents

    Jul 21, 2026Qijia He, Jiayi Cheng, Chenqian Le +8AI Coding AgentsCost-Aware Inference

  2. Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents

    Sep 25, 2026Yiran Hu, Nan Jiang, Shanchao Liang +3Coding AgentsCost-Aware Inference