[Offer收割]编程练习赛1 register

Ended

Participants:955

Verdict:Wrong Answer
Score:80 / 100
Submitted:2016-03-06 15:20:31

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.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
/**
 * Created by yang on 16-1-11.
 */
public class Main {
    public static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    public static int readInt() throws IOException {
        return Integer.parseInt(reader.readLine());
    }
    public static int[] readInts(int Nthrows IOException {
        int[] ans = new int[N];
        StringTokenizer tokenizer = new StringTokenizer(reader.readLine());
        for (int i = 0i < Ni++) {
            ans[i= Integer.parseInt(tokenizer.nextToken());
        }
        return ans;
    }
    public static boolean vis[] = new boolean[10];
    public static boolean check(int[][] matint iint jint k) {
        int[] num = new int[3];
        int[] tmp = {ijk};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX