QOJ.ac

QOJ

Límite de tiempo: 2 s Límite de memoria: 1024 MB

#23973. Test

Estadísticas

Aufgabenstellung

In einem Test hast du $1$ Aufgabe mit $A$ Punkten pro $1$ Aufgabe richtig gelöst und $B$ Aufgaben mit $300$ Punkten pro $1$ Aufgabe richtig gelöst.

Gib die Gesamtpunktzahl der Aufgaben aus, die du richtig gelöst hast.

Einschränkungen

  • $1000 \le A \le 32000$.
  • $1 \le B \le 10$.
  • Alle Eingabewerte sind ganze Zahlen.

Eingabe

Die Eingabe erfolgt im folgenden Format:

A
B

Ausgabe

Gib die Gesamtpunktzahl der Aufgaben aus, die du richtig gelöst hast.

Gib nichts anderes als die Antwort aus. (Gib auch keine Sätze aus, die zur Eingabe auffordern usw.)

Für das Antwortformat kannst du dich auch an den Übungsaufgaben und ihren Musterlösungen orientieren.


Beispieleingabe $1$

1000
1

Beispielausgabe $1$

1300

Im Test hast du $1$ Aufgabe mit $1000$ Punkten pro $1$ Aufgabe richtig gelöst und $1$ Aufgabe mit $300$ Punkten pro $1$ Aufgabe richtig gelöst.

Die Gesamtpunktzahl der richtig gelösten Aufgaben beträgt $1000 \times 1 + 300 \times 1 = 1300$. Daher wird $1300$ ausgegeben.


Beispieleingabe $2$

8000
2

Beispielausgabe $2$

8600

Im Test hast du $1$ Aufgabe mit $8000$ Punkten pro $1$ Aufgabe richtig gelöst und $2$ Aufgaben mit $300$ Punkten pro $1$ Aufgabe richtig gelöst.

Die Gesamtpunktzahl der richtig gelösten Aufgaben beträgt $8000 \times 1 + 300 \times 2 = 8600$. Daher wird $8600$ ausgegeben.


Beispieleingabe $3$

32000
3

Beispielausgabe $3$

32900

Im Test hast du $1$ Aufgabe mit $32000$ Punkten pro $1$ Aufgabe richtig gelöst und $3$ Aufgaben mit $300$ Punkten pro $1$ Aufgabe richtig gelöst.

Die Gesamtpunktzahl der richtig gelösten Aufgaben beträgt $32000 \times 1 + 300 \times 3 = 32900$. Daher wird $32900$ ausgegeben.


Beispieleingabe $4$

1000
10

Beispielausgabe $4$

4000

Im Test hast du $1$ Aufgabe mit $1000$ Punkten pro $1$ Aufgabe richtig gelöst und $10$ Aufgaben mit $300$ Punkten pro $1$ Aufgabe richtig gelöst.

Die Gesamtpunktzahl der richtig gelösten Aufgaben beträgt $1000 \times 1 + 300 \times 10 = 4000$. Daher wird $4000$ ausgegeben.

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.