mlsanityData to 26 Nov 2026

How Prompt Style Affects AI Accuracy and Speed in Competitive Programming

arXiv 2610.30223 ↗Submitted 21 Oct 2026cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models are increasingly used in competitive programming, and their outputs are sensitive to how a prompt is phrased. Prior work has compared prompt strategies for accuracy on competitive programming, but not for runtime speed, and has not situated the results against human performance. In an exploratory study of one prompt in each of nine styles on GPT-5.5 across three accuracy tasks from the International Olympiad in Informatics (IOI) and two NP-hard speed tasks, we found that no single prompt was best: the strongest prompt depended on the task type and on whether results were summarized by the mean or the median, suggesting that, at least for these tasks, prompt style should be matched to the objective rather than treated as universal. Many differences in mean scores came from a few outlier runs, showing that evaluating prompting by a single metric can obscure how much its effectiveness varies. Compared descriptively with human IOI contestants, who worked under different conditions, the AI was neither strictly better nor strictly worse, exceeding the average contestant on one task but falling short on the other two. By extending prompt comparison from accuracy to runtime speed and grounding it against human performance, this study gives a broader picture of how prompt style affects competitive programming performance.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 10 of its 23 references that are in the map. Submitted 21 Oct 2026.

Builds on

10 of 23 references.

References · 10

  1. 2022Competition-Level Code Generation with AlphaCodecited by 1,510
  2. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 916
  3. 2023Structured Chain-of-Thought Prompting for Code Generationcited by 145
  4. 2025Competitive Programming with Large Reasoning Modelscited by 132
  5. 2023Self-planning Code Generation with Large Language Modelscited by 130
  6. 2025LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?cited by 68
  7. 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 53
  8. 2024On Evaluating the Efficiency of Source Code Generated by LLMscited by 23
  9. 2025Which Prompting Technique Should I Use? An Empirical Investigation of Prompting Techniques for Software Engineering Taskscited by 10
  10. 2025LiveOIBench: Can Large Language Models Outperform Human Contestants in Informatics Olympiads?cited by 5

Built on by

Not cited yet.