Election 2
ABC 366Problem 50 of 50
EasyWhat to do
In a city election, there are two candidates: Takahashi and Aoki. You need to check if it's already clear who will win based on the votes counted so far and the total votes that can still be counted.
Key Concepts
if-statements
basic math
input handling
conditional logic
Examples
Input:
7, 4, 2
Output:
Yes
Input:
99, 12, 48
Output:
No
Tips for Beginners
- Focus on understanding the logic, not memorizing syntax
- Use print statements to debug your code
- Don't worry about input parsing - the function handles that for you
- If stuck, try writing out your solution on paper first
Python Editor
Loading Python...