Evaluating the Performance of Large Language Models in Competitive Programming: A Multi-Year, Multi-Grade Analysis

Adrian Marius Dumitran, Adrian Catalin Badea, Stefan-Gabriel Muscalu
8/31/2024
cs.SEcs.AIcs.PL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

This study explores the performance of large language models (LLMs) in solving competitive programming problems from the Romanian Informatics Olympiad at the county level. Romania, a leading nation in computer science competitions, provides an ideal environment for evaluating LLM capabilities due to its rich history and stringent competition standards. We collected and analyzed a dataset comprising 304 challenges from 2002 to 2023, focusing on solutions written by LLMs in C++ and Python for these problems. Our primary goal is to understand why LLMs perform well or poorly on different tasks. We evaluated various models, including closed-source models like GPT-4 and open-weight models such as CodeLlama and RoMistral, using a standardized process involving multiple attempts and feedback rounds. The analysis revealed significant variations in LLM performance across different grades and problem types. Notably, GPT-4 showed strong performance, indicating its potential use as an educational tool for middle school students. We also observed differences in code quality and style across various LLMs

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dumitran2024evaluating,
  title  = {Evaluating the Performance of Large Language Models in Competitive Programming: A Multi-Year, Multi-Grade Analysis},
  author = {Adrian Marius Dumitran and Adrian Catalin Badea and Stefan-Gabriel Muscalu},
  year   = {2024},
  eprint = {2409.09054},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09054v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09054.svg)](https://codeofpaper.com/paper/2409.09054)

Discussion