QOJ.ac

QOJ

Time Limit: 2 s Memory Limit: 1024 MB

#23956. Money On Me

Statistics

問題文

ビ太郎は 1 000 円札を A 枚, 10 000 円札を B 枚持っている.全部でいくら持っているか出力せよ.

制約

  • 1 ≦ A ≦ 100.
  • 1 ≦ B ≦ 100.
  • 入力される値はすべて整数である.

入力

入力は以下の形式で与えられる.
A
B

出力

ビ太郎はいくら持っているか,単位 (円) を除いて出力せよ.

答え以外は何も出力しないこと.(入力を促す文章なども出力しないこと.)

解答形式については,練習問題やその解答例 を参考にしても良い.


入力例 1

7
2

出力例 1

27000
  • ビ太郎は 1 000 × 7 + 10 000 × 2 = 27 000 円持っている.よって 27 000 を出力する.

入力例 2

11
1

出力例 2

21000
  • ビ太郎は 1 000 × 11 + 10 000 × 1 = 21 000 円持っている.よって 21 000 を出力する.

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.