QOJ.ac

QOJ

Límite de tiempo: 2 s Límite de memoria: 1024 MB Puntuación total: 100

#23869. Tiga Bilangan Bulat

Estadísticas

Diberikan $3$ bilangan bulat $A, B, C$. Masing-masing dari $A, B, C$ bernilai $1$ atau $2$. Di antara $1$ dan $2$, manakah yang muncul lebih banyak?

Masukan

Masukan diberikan dari masukan standar dengan format berikut:

$$ A \ B \ C $$

Keluaran

Di antara $1$ dan $2$, keluarkan bilangan yang jumlahnya lebih banyak.

Batasan

  • Masing-masing dari $A, B, C$ bernilai $1$ atau $2$.

Contoh

Masukan 1

1 2 1

Keluaran 1

1

Catatan 1

  • Karena terdapat $2$ buah bilangan $1$ dan $1$ buah bilangan $2$, keluarkan $1$ yang jumlahnya lebih banyak.

Masukan 2

2 2 2

Keluaran 2

2

Catatan 2

  • Karena semuanya adalah $2$, keluarkan $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.