OJBench (C++)
What is OJBench (C++)?
OJBench (C++) is the C++ subset of OJBench, a competition-level code benchmark that evaluates large language models on programming competition problems from NOI and ICPC using C++ as the implementation language.
OJBench (C++) is a text benchmark evaluating models on reasoning and code tasks. LLM Stats tracks 1 models on this benchmark, scored on a 0–1 scale. The current average is 0.6, with the leader at 0.6.
Compare leaders on the best AI for reasoning and best AI for code leaderboards.
Current leaders
Kimi K2.5 from Moonshot AI currently leads the OJBench (C++) leaderboard with a score of 0.574 across 1 evaluated AI models.
Source paper
- Title
- OJBench: A Competition Level Code Benchmark For Large Language Models
- Authors
- Zhexu Wang, Yiping Liu, Yejie Wang, Wenyang He, and 8 others
- Published
- arXiv
- 2506.16395
Abstract
Recent advancements in large language models (LLMs) have demonstrated significant progress in math and code reasoning capabilities. However, existing code benchmark are limited in their ability to evaluate the full spectrum of these capabilities, particularly at the competitive level. To bridge this gap, we introduce OJBench, a novel and challenging benchmark designed to assess the competitive-level code reasoning abilities of LLMs. OJBench comprises 232 programming competition problems from NOI and ICPC, providing a more rigorous test of models' reasoning skills. We conducted a comprehensive evaluation using OJBench on 37 models, including both closed-source and open-source models, reasoning-oriented and non-reasoning-oriented models. Our results indicate that even state-of-the-art reasoning-oriented models, such as o4-mini and Gemini-2.5-pro-exp, struggle with highly challenging competition-level problems. This highlights the significant challenges that models face in competitive-level code reasoning.
FAQ
Common questions about the OJBench (C++) benchmark and leaderboard.