B - MaratonIME challenges USPGameDev

简介: B - MaratonIME challenges USPGameDev

Statements

Year after year, MaratonIME (group that authored this contest) and USPGameDev (game developing group at USP) fight epic clashes that last for centuries over which group will get each freshman to join them. This year, Russo (from MaratonIME) challenged Wil (from USPGameDev) to a dangerous match of darts.

Each one of them has already thrown their darts at the bullseye, but they can't decide which one of them got closest to hitting the center of it. Each one of them claims to have won the match. You, as a fair freshman, decided to judge the clash yourself.

Two points on the 2d plane are given, r, the point where Russo's dart hit, and w, the point where Wil's dart hit. If r is closest to the origin (0, 0) than w, Russo won and you should print out "Russo" (no quotes) and join MaratonIME. If w and r are equally close to the origin, there's a draw, you should print "Empate" (no quotes), which stands for "Draw" in portuguese, and join MaratonIME, because that was the agreed draw outcome. If w is closest to the origin than r, you should print "Wil" (no quotes) and join MaratonIME anyway, because it is the coolest group.

Input

On the first line of the input, a pair of integers xr and yr is given, the coordinates hit by Russo. On the second line another pair of integers xw and yw is given, the coordinates hit by Wil. Every coordinate is guaranteed not to exceed 10000 on absolute value, formally,  - 10000 ≤ xr, yr, xw, yw ≤ 10000.

Output

A single line containing "Russo", "Wil" or "Empate", acording to statement's instructions.

Examples

Input

2 1

3 0


Output

Russo


Input

10000 0

10000 1


Output

Russo

题目大意及思路:给你圆心和半径,让你求到(0.0)的距离,通过比较距离,来输出最后的结果。

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
    int x1, y1, x2, y2;
    int sum1, sum2;
    scanf("%d %d", &x1, &y1);
    scanf("%d %d", &x2, &y2);
    sum1 = x1 * x1 + y1 * y1;
    sum2 = x2 * x2 + y2 * y2;
    if(sum1 < sum2)
    {
        printf("Russo\n");
    }
    else if(sum1 == sum2)
    {
        printf("Empate\n");
    }
    else
    {
        printf("Wil\n");
    }
    return 0;
}


相关文章
|
传感器 监控 自动驾驶
我所理解的loT
“物联网(The Internet of Things,简称IOT)是指通过各种信息传感器、射频识别技术、全球定位系统、红外线感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、 连接、互动的物体或过程,采集其声、光、热、电、力学、化 学、生物、位置等各种需要的信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。物联网是一个基于互联网,传统电信网等的信息承载体,它让所有能够被独立寻址的普通物理对象形成互联互通的网络。”----------《什么是物联网》
我所理解的loT
Choosing Teams
Choosing Teams
132 0
Choosing Teams
|
物联网 智能硬件
我理解的lot
物联网的蓬勃发展,使商业与社会的交织、融合超越以往任何时代,进入了可持续发展的物联网生态时代。
我理解的lot
|
存储 传感器 数据采集
我对lot的理解
对lot的了解
1045 0
|
SQL 安全
Protecting Websites through Semantics-Based Malware Detection
Malware detection is a fundamental feature of web security and serves as the first line of defense for most websites.
1371 0
(转)Is attacking machine learning easier than defending it?
  转自:http://www.cleverhans.io/security/privacy/ml/2017/02/15/why-attacking-machine-learning-is-easier-than-defending-it.