hiho week 50 register

Ended

Participants:436

Verdict:Accepted
Score:100 / 100
Submitted:2015-06-14 21:11:49

Lang:Java

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
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
import java.util.Scanner;
import java.util.Stack;
import javax.swing.text.StyledEditorKit.BoldAction;
import sun.security.util.Length;
/**
 * hihocoder :ouraRoad 
 * to find that if there is a ouraRoad in a  extra map
 * 
 * print true or false
 * 
 * @author zxq
 *
 */
public class Main {
    // a list array to storage the  line of the map
    static private List[] theMap = null;
    // a array<int> to storage the line num of the point
    static private int [] lineNum = null;
    //if there is point has the odd degree
    static private boolean degreeFlag = false;
    
    //the stack to storage the print list
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX