hiho week 99 register

Ended

Participants:253

Verdict:Accepted
Score:100 / 100
Submitted:2016-05-27 14:06:16

Lang:G++

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
#include <bits/stdc++.h>
using namespace std;
const int maxn = 10;
int v[3][maxn][maxn];
int vis[maxn][maxn];
char str[5];
int dx[] = { 2, 2, -2, -2, 1, 1, -1, -1};
int dy[] = { 1, -1, 1, -1, 2, -2, 2, -2};
typedef struct Node{
    int x, y;
    int step;
    Node(){
        x = y = step = 0;
    }
    Node(int x, int y, int step){
        this->x = x;
        this->y = y;
        this->step = step;
    }
    Node(const Node& node){
        this->x = node.x;
        this->y = node.y;
        this->step = node.step;
    }
}Node;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX