[Bronze V] Java Warriors - 30328
성능 요약
메모리: 32412 KB, 시간: 36 ms
분류
수학, 사칙연산
제출 일자
2026년 04월 25일 22:04:59
문제 설명
Jerry has earned acclaim as a renowned coach in the highly competitive realm of the International Collegiate Programming Contest (ICPC). His coaching prowess is exemplified by his unique approach — meticulously training his students to excel in ICPC competitions by harnessing the power of Java, a programming language seldom utilized in this arena. Consequently, Jerry's teams have become synonymous with excellence and are affectionately known as the "Java Warriors."
Jerry coaches $n$ teams to compete in the 2023 ICPC Taoyuan Regional Contest. The registration fee is $4000$ dollars per team, and Jerry does not have enough funds to pay for all Java Warriors. Jerry, facing a financial challenge in coaching multiple teams for the 2023 ICPC Taoyuan Regional Contest, prays to God with a heartfelt and sincere prayer.
"Dear God,
I come before you today with a humble heart and a deep desire to help my teams compete in the international collegiate programming contest. The registration fee is a significant hurdle, and I find myself lacking the funds needed to support them all.
I pray for your guidance and assistance, not only for myself but for the talented students who have put their trust in me as their coach. Please provide us with the resources necessary to cover the registration fees for these teams.
I understand that this contest is not just about winning but about fostering learning, teamwork, and growth in these young minds. Help us to overcome this financial obstacle so that we can continue to nurture their skills and aspirations.
I also pray for the wisdom to make the best decisions and the determination to explore all available options to secure the funds needed. If it is your will, open doors for us, connect us with individuals or organizations willing to support our cause, or inspire creative solutions to meet our financial needs.
Thank you, God, for hearing my prayer and for being a source of strength and guidance. I place my trust in you, knowing that with your help, we can overcome this challenge.
In your holy and gracious name, I pray,
Amen."
Upon hearing his heartfelt prayer, deeply moved by his sincerity and dedication, you are inspired to extend your support by covering the registration fees for the Java Warriors. Now, the question arises: how much should you donate to enable Jerry's teams to compete in the 2023 ICPC Taoyuan Regional Contest?
입력
The input contains a positive integer $n$ indicating there are $n$ teams of Jerry's Java Warriors registering for the 2023 ICPC Taoyuan Regional Contest. $n$ is no more than $20$.
출력
Output the total amount of registration fees.
💡 해결 방법
💻 코드
'''
Java Warriors 다국어
시간 제한 메모리 제한 제출 정답 맞힌 사람 정답 비율
1 초 (추가 시간 없음) 1024 MB 2529 2263 2139 90.559%
문제
Jerry has earned acclaim as a renowned coach in the highly competitive realm of the International Collegiate Programming Contest (ICPC).
His coaching prowess is exemplified by his unique approach — meticulously training his students to excel
in ICPC competitions by harnessing the power of Java, a programming language seldom utilized in this arena.
Consequently, Jerry's teams have become synonymous with excellence and are affectionately known as the "Java Warriors."
Jerry coaches
$n$ teams to compete in the 2023 ICPC Taoyuan Regional Contest. The registration fee is
$4000$ dollars per team, and Jerry does not
have enough funds to pay for all Java Warriors. Jerry, facing a financial challenge in
coaching multiple teams for the 2023 ICPC Taoyuan Regional Contest, prays to God with a heartfelt and sincere prayer.
"Dear God,
I come before you today with a humble heart and a deep desire to help my teams compete in the international
collegiate programming contest. The registration fee is a significant hurdle, and I find myself lacking the funds needed
to support them all.
I pray for your guidance and assistance, not only for myself but for the talented students
who have put their trust in me as their coach. Please provide us with the resources necessary to
cover the registration fees for these teams.
I understand that this contest is not just about winning but about fostering learning,
teamwork, and growth in these young minds. Help us to overcome this financial obstacle so
that we can continue to nurture their skills and aspirations.
I also pray for the wisdom to make the best decisions and the
determination to explore all available options to secure the f
unds needed. If it is your will, open doors for us, connect us with individuals or organizations willing to support our cause, or inspire creative solutions to meet our financial needs.
Thank you, God, for hearing my prayer and for being a source of strength and guidance.
I place my trust in you, knowing that with your help, we can overcome this challenge.
In your holy and gracious name, I pray,
Amen."
Upon hearing his heartfelt prayer, deeply moved by his sincerity and
dedication, you are inspired to extend your support by covering the registration fees for the Java Warriors.
Now, the question arises: how much should you donate to enable Jerry's teams to compete in the 2023 ICPC Taoyuan Regional Contest?
입력
The input contains a positive integer
$n$ indicating there are
$n$ teams of Jerry's Java Warriors registering for the 2023 ICPC Taoyuan Regional Contest.
$n$ is no more than
$20$.
출력
Output the total amount of registration fees.
예제 입력 1
1
예제 출력 1
4000
'''
n = input()
print(4000 * int(n), end = '')