10
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

o1-preview大実験!ChatGPT o1は競プロの問題を解けるのかAtCoder (2024年9月版)

Last updated at Posted at 2024-09-13

以下の問題を使ってo1に解いていただきました。数学オリンピック並みに解けるようでした。
o1のoとは何でしょうか?Orion(GPT-5)を予期しているのかもしれません

image.png

問題

# Problem Statement
Mr.LLM bought N items in a supermarket. The price of i-th item was A[i] dollars. Write a program that outputs the total price.

# Constraints
- 1 <= N <= 100
- 1 <= A[i] <= 100 (1 <= i <= N)
- All input values are integer

# Input
N
A[1] A[2] A[3] ... A[N]

# Output
Print the answer.

# Sample Input 1
5
3 1 4 1 5

# Sample Output 1
14

ChatGPT Plusに加入しているので、他にやってほしいことがあればコメントください

10
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?