<commit_before>//  y
//  2 _|_|_
//  1 _|_|_
//  0  | |
//    0 1 2 x
use std::collections::LinkedList;
use std::io::stdin;

struct Step {
    loc: Loc,
    who: i8
}

struct Loc {
    x: i8,
    y: i8,
}

struct EachRecord {
    win: Vec<Loc>,
    draw: Vec<Loc>,
    lose: Vec<Loc>
}
fn main() {
    let mut table : LinkedList<Step> = LinkedList::new();
    let mut record : [EachRecord; 19683];
    loop {
        if end_check(&table) {
            table.clear();
        }
        print(&table);
        let mut input = String::new();
        match stdin().read_line(&mut input) {
            Ok(_) => {},
            Err(_) => continue,
        };
        let tmp: Vec<&str> = input.trim().split(' ').collect();
        let x = tmp[0].parse::<i8>().unwrap();
        let y = tmp[1].parse::<i8>().unwrap();
        check(&mut table, x, y, 1);
    }
}

fn check(table: &mut LinkedList<Step>, x: i8, y: i8, who: i8) {
    table.push_back(Step { loc: Loc{x:x, y:y}, who: who});<commit_msg>Script commit at 01/04/2017  0:00:01 UTC+8<commit_after>//  y
//  2 _|_|_
//  1 _|_|_
//  0  | |
//    0 1 2 x
use std::collections::LinkedList;
use std::io::stdin;

struct Step {
    loc: Loc,
    who: i8
}

struct Loc {
    x: i8,
    y: i8,
}

struct EachRecord {
    win: Vec<Loc>,
    draw: Vec<Loc>,
    lose: Vec<Loc>
}

fn main() {
    let mut table : LinkedList<Step> = LinkedList::new();
    let mut record : [EachRecord; 19683];
    loop {
        if end_check(&table) {
            table.clear();
        }
        print(&table);
        let mut input = String::new();
        match stdin().read_line(&mut input) {
            Ok(_) => {},
            Err(_) => continue,
        };
        let tmp: Vec<&str> = input.trim().split(' ').collect();
        let x = tmp[0].parse::<i8>().unwrap();
        let y = tmp[1].parse::<i8>().unwrap();
        check(&mut table, x, y, 1);
    }
}

fn check(table: &mut LinkedList<Step>, x: i8, y: i8, who: i8) {
    table.push_back(Step { loc: Loc{x:x, y:y}, who: who});
{'fraction_non_alphanumeric': 0.1935323383084577, 'fraction_numerical': 0.028855721393034824, 'mean_word_length': 2.084355828220859, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7166319', 'n_tokens_mistral': 778, 'n_tokens_neox': 757, 'n_words': 188}