Saved in:
Bibliographic Details
Main Authors: DeepReinforce Team, Li, Xiaoya, Sun, Xiaofei, Wang, Guoyin, Su, Songqiao, Shum, Chris, Li, Jiwei
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.02721
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910099640942592
author DeepReinforce Team
Li, Xiaoya
Sun, Xiaofei
Wang, Guoyin
Su, Songqiao
Shum, Chris
Li, Jiwei
author_facet DeepReinforce Team
Li, Xiaoya
Sun, Xiaofei
Wang, Guoyin
Su, Songqiao
Shum, Chris
Li, Jiwei
contents Competitive programming remains one of the last few human strongholds in coding against AI. The best AI system to date still underperforms the best humans competitive programming: the most recent best result, Google's Gemini~3 Deep Think, attained 8th place even not being evaluated under live competition conditions. In this work, we introduce GrandCode, a multi-agent RL system designed for competitive programming. The capability of GrandCode is attributed to two key factors: (1) It orchestrates a variety of agentic modules (hypothesis proposal, solver, test generator, summarization, etc) and jointly improves them through post-training and online test-time RL; (2) We introduce Agentic GRPO specifically designed for multi-stage agent rollouts with delayed rewards and the severe off-policy drift that is prevalent in agentic RL. GrandCode is the first AI system that consistently beats all human participants in live contests of competitive programming: in the most recent three Codeforces live competitions, i.e., Round~1087 (Mar 21, 2026), Round~1088 (Mar 28, 2026), and Round~1089 (Mar 29, 2026), GrandCode placed first in all of them, beating all human participants, including legendary grandmasters. GrandCode shows that AI systems have reached a point where they surpass the strongest human programmers on the most competitive coding tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2604_02721
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GrandCode: Achieving Grandmaster Level in Competitive Programming via Agentic Reinforcement Learning
DeepReinforce Team
Li, Xiaoya
Sun, Xiaofei
Wang, Guoyin
Su, Songqiao
Shum, Chris
Li, Jiwei
Artificial Intelligence
Competitive programming remains one of the last few human strongholds in coding against AI. The best AI system to date still underperforms the best humans competitive programming: the most recent best result, Google's Gemini~3 Deep Think, attained 8th place even not being evaluated under live competition conditions. In this work, we introduce GrandCode, a multi-agent RL system designed for competitive programming. The capability of GrandCode is attributed to two key factors: (1) It orchestrates a variety of agentic modules (hypothesis proposal, solver, test generator, summarization, etc) and jointly improves them through post-training and online test-time RL; (2) We introduce Agentic GRPO specifically designed for multi-stage agent rollouts with delayed rewards and the severe off-policy drift that is prevalent in agentic RL. GrandCode is the first AI system that consistently beats all human participants in live contests of competitive programming: in the most recent three Codeforces live competitions, i.e., Round~1087 (Mar 21, 2026), Round~1088 (Mar 28, 2026), and Round~1089 (Mar 29, 2026), GrandCode placed first in all of them, beating all human participants, including legendary grandmasters. GrandCode shows that AI systems have reached a point where they surpass the strongest human programmers on the most competitive coding tasks.
title GrandCode: Achieving Grandmaster Level in Competitive Programming via Agentic Reinforcement Learning
topic Artificial Intelligence
url https://arxiv.org/abs/2604.02721