QOJ.ac

QOJ

Süre Sınırı: 2 s Bellek Sınırı: 1024 MB Toplam puan: 100

#23869. Ba số nguyên

İstatistikler

Cho $3$ số nguyên $A, B, C$. Mỗi số trong $A, B, C$ là $1$ hoặc $2$. Giữa $1$ và $2$, số nào xuất hiện nhiều hơn?

Dữ liệu vào

Dữ liệu vào được cung cấp từ đầu vào chuẩn theo định dạng sau:

$$ A \ B \ C $$

Dữ liệu ra

Giữa $1$ và $2$, hãy in ra số có số lượng nhiều hơn.

Ràng buộc

  • Mỗi số trong $A, B, C$ là $1$ hoặc $2$.

Ví dụ

Dữ liệu vào 1

1 2 1

Dữ liệu ra 1

1

Giải thích 1

  • Vì có $2$ số $1$ và $1$ số $2$, nên ta in ra số có số lượng nhiều hơn là $1$.

Dữ liệu vào 2

2 2 2

Dữ liệu ra 2

2

Giải thích 2

  • Vì tất cả đều là $2$, nên ta in ra $2$.

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.