Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dominater and Everule are very competitive, and keep trying to show that they are better at competitive programming than the other. What better measure is

Dominater and Everule are very competitive, and keep trying to show that they are better at competitive programming than the other. What better measure is there than their rating? Both of them participated in a contest. Before the contest, Dominater's rating was R and Everule's rating was R. Dominater's rating changed by D in the contest, and Everule's rating changed by D. Who has the higher final rating after the contest? Print "Dominater" if his rating is higher, and "Everule" if his rating is higher (without the quotes). It is guaranteed they do not have equal ratings at the end of the contest. Input Format The first line of input will contain two space-separated integers R and R, denoting the initial ratings of Dominater and Everule. The second line of input will contain two space-separated integers D and D, denoting the rating changes of Dominater and Everule. Output Format Output Dominater or Everule, depending on who has a higher rating at the end. Each character of

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions