Problem A

Statement
Copy Copied
Given an integer n, output the n-th term of the Lazy Caterer sequence.
The sequence is defined as f(n) = n*(n+1)/2 + 1 for n >= 0.
Input format:
 t - number of test cases
 then t lines follow each containing a single integer n.
Output the value of f(n) for each test case on a separate line.

Evaluations

Eval IDRun IDProviderModelLangSuccessTimestampPromptResponseStdoutStderrRetry
3194 20260320-230005 gemini gemini-3-pro-preview go true 2026-03-20T23:07:42.973081Z View View View View Retry
2126 20260311-031318 openai gpt-5.4 go true 2026-03-11T03:20:27.039901Z View View View View Retry