hiho week 71 register

Ended

Participants:210

Verdict:Runtime Error
Score:10 / 100
Submitted:2015-11-12 23:15:13

Lang:C#

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HW71
{
    public class Program
    {
        struct Point
        {
            public int X;
            public int Y;
            public Point(int x, int y)
            {
                X = x;
                Y = y;
            }
            public override bool Equals(object obj)
            {
                if(!obj.GetType().Equals(GetType()))
                {
                    return false;
                }
                else
                {
                    return ((Point)obj).X == X && ((Point)obj).Y == Y;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX