QOJ.ac

QOJ

実行時間制限: 2 s メモリ制限: 1024 MB 満点: 100

#23883. Næststærsta heiltalan

統計

Lýsing

Gefnar eru $3$ heiltölur $A, B, C$. Prentið $2$. stærstu töluna úr þeim.

Skilyrði

  • $1 \le A \le 100$.
  • $1 \le B \le 100$.
  • $1 \le C \le 100$.

Inntak

Inntakið kemur úr staðalinntaki á eftirfarandi sniði:

A B C

Úttak

Prentið $2$. stærstu töluna af $A, B, C$.

Dæmi um inntak og úttak

Inntaksdæmi 1

7 5 3

Úttaksdæmi 1

5
  • Prentað er $5$, sem er $2$. stærsta talan af $7, 5, 3$.

Inntaksdæmi 2

1 3 3

Úttaksdæmi 2

3
  • Meðal gefinna heiltalna geta $2$ þeirra verið jafnar.
  • Þegar $1, 3, 3$ er raðað í lækkandi röð fæst $3, 3, 1$, svo prentað er $3$, sem er $2$. stærst.

Inntaksdæmi 3

100 100 100

Úttaksdæmi 3

100
  • Allar gefnu heiltölurnar geta verið jafnar.

Inntaksdæmi 4

29 83 1

Úttaksdæmi 4

29

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.