QOJ.ac

QOJ

Limite de temps : 2 s Limite de mémoire : 1024 MB

#23935. Pengemasan Permen

Statistiques

Deskripsi Masalah

Anda membeli $B$ butir permen seharga $A$ yen per $1$ butir, serta $1$ buah kantong seharga $C$ yen. Hitunglah berapa total harganya.

Batasan

  • $1 \le A \le 100$.
  • $1 \le B \le 100$.
  • $1 \le C \le 100$.
  • Semua nilai masukan adalah bilangan bulat.

Format Masukan

Masukan diberikan dalam format berikut:

A
B
C

Format Keluaran

Keluarkan total harga tanpa menyertakan satuan (yen).

Jangan mengeluarkan apa pun selain jawaban. (Jangan mengeluarkan kalimat perintah untuk memasukkan data, dan sebagainya.)

Untuk format jawaban, Anda juga dapat merujuk pada soal latihan beserta contoh solusinya.

Contoh 1

Contoh Masukan 1

20
3
10

Contoh Keluaran 1

70
  • Ketika membeli $3$ butir permen seharga $20$ yen per $1$ butir dan $1$ kantong seharga $10$ yen, total harganya adalah $70$ yen, sehingga keluarkan $70$.

Contoh 2

Contoh Masukan 2

70
2
100

Contoh Keluaran 2

240
  • Ketika membeli $2$ butir permen seharga $70$ yen per $1$ butir dan $1$ kantong seharga $100$ yen, total harganya adalah $240$ yen, sehingga keluarkan $240$.

Contoh 3

Contoh Masukan 3

23
10
15

Contoh Keluaran 3

245
  • Ketika membeli $10$ butir permen seharga $23$ yen per $1$ butir dan $1$ kantong seharga $15$ yen, total harganya adalah $245$ yen, sehingga keluarkan $245$.

Contoh 4

Contoh Masukan 4

100
100
100

Contoh Keluaran 4

10100
  • Ketika membeli $100$ butir permen seharga $100$ yen per $1$ butir dan $1$ kantong seharga $100$ yen, total harganya adalah $10100$ yen, sehingga keluarkan $10100$.

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.