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.

Kimi K2.5 from Moonshot AI currently leads the OJBench (C++) leaderboard with a score of 0.574 across 1 evaluated AI models.

Paper
About this benchmark

What OJBench (C++) measures

OJBench (C++) is a text benchmark that evaluates large language models on reasoning and code tasks. LLM Stats tracks 1 model on this benchmark, with a maximum possible score of 1. Current average across reported models is 0.6, with the leader reaching 0.6.

Compare leaders on the best AI for reasoning and best AI for code leaderboards.

Publication

Paper
OJBench: A Competition Level Code Benchmark For Large Language Models
Authors
Zhexu Wang, Yiping Liu, Yejie Wang, Wenyang He, and 8 others
Published

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.

Moonshot AIKimi K2.5 leads with 57.4%.

Progress Over Time

Interactive timeline showing model performance evolution on OJBench (C++)

State-of-the-art frontier
Open
Proprietary

OJBench (C++) Leaderboard

1 models
ContextCostLicense
1
Moonshot AI
Moonshot AI
1.0T
Notice missing or incorrect data?

FAQ

Common questions about OJBench (C++).

What is the OJBench (C++) benchmark?

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.

What is the OJBench (C++) leaderboard?

The OJBench (C++) leaderboard ranks 1 AI models based on their performance on this benchmark. Currently, Kimi K2.5 by Moonshot AI leads with a score of 0.574. The average score across all models is 0.574.

What is the highest OJBench (C++) score?

The highest OJBench (C++) score is 0.574, achieved by Kimi K2.5 from Moonshot AI.

How many models are evaluated on OJBench (C++)?

1 models have been evaluated on the OJBench (C++) benchmark, with 0 verified results and 1 self-reported results.

Where can I find the OJBench (C++) paper?

The OJBench (C++) paper is available at https://arxiv.org/abs/2506.16395. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does OJBench (C++) cover?

OJBench (C++) is categorized under reasoning and code. The benchmark evaluates text models.

What's the difference between OJBench (C++) and OJBench?

OJBench (C++) is a variant of OJBench. See the OJBench leaderboard for the broader benchmark and per-model comparison.

What is the best open-source model on OJBench (C++)?

Kimi K2.5 by Moonshot AI is the top-ranked open-source model on OJBench (C++), with a score of 0.574 (rank #1).

How recent are the OJBench (C++) leaderboard results?

The OJBench (C++) leaderboard was last updated in June 2026 and currently includes 1 evaluated models.

More evaluations to explore

Related benchmarks in the same category

View all reasoning
GPQA

A challenging dataset of 448 multiple-choice questions written by domain experts in biology, physics, and chemistry. Questions are Google-proof and extremely difficult, with PhD experts reaching 65% accuracy.

reasoning
224 models
MMLU-Pro

A more robust and challenging multi-task language understanding benchmark that extends MMLU by expanding multiple-choice options from 4 to 10, eliminating trivial questions, and focusing on reasoning-intensive tasks. Features over 12,000 curated questions across 14 domains and causes a 16-33% accuracy drop compared to original MMLU.

reasoning
127 models
AIME 2025

All 30 problems from the 2025 American Invitational Mathematics Examination (AIME I and AIME II), testing olympiad-level mathematical reasoning with integer answers from 000-999. Used as an AI benchmark to evaluate large language models' ability to solve complex mathematical problems requiring multi-step logical deductions and structured symbolic reasoning.

reasoning
114 models
MMLU

Massive Multitask Language Understanding benchmark testing knowledge across 57 diverse subjects including STEM, humanities, social sciences, and professional domains

reasoning
100 models
SWE-Bench Verified

A verified subset of 500 software engineering problems from real GitHub issues, validated by human annotators for evaluating language models' ability to resolve real-world coding issues by generating patches for Python codebases.

reasoning
100 models
Humanity's Last Exam

Humanity's Last Exam (HLE) is a multi-modal academic benchmark with 2,500 questions across mathematics, humanities, and natural sciences, designed to test LLM capabilities at the frontier of human knowledge with unambiguous, verifiable solutions

reasoningmultimodal
82 models