Election 2 ABC 366 Completed

Problem 50 of 50

Easy

lightbulb What 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

code Python Editor
Loading Python...
Test Results
tips_and_updates 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