結果
| 問題 | 
                            No.726 Tree Game
                             | 
                    
| コンテスト | |
| ユーザー | 
                             特命ログイン
                         | 
                    
| 提出日時 | 2018-08-24 22:56:04 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 502 bytes | 
| コンパイル時間 | 13,201 ms | 
| コンパイル使用メモリ | 393,644 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-23 08:49:00 | 
| 合計ジャッジ時間 | 14,427 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 21 WA * 4 | 
ソースコード
use std::io::{Read, stdin};
fn main() {
    let mut buf = String::new();
    stdin().read_to_string(&mut buf).unwrap();
    let mut tok = buf.split_whitespace();
    let mut get = || tok.next().unwrap();
    macro_rules! get {
        ($t:ty) => (get().parse::<$t>().unwrap());
        () => (get!(i64));
    }
    
    let y = get!();
    let x = get!();
    
    if y % 2 == x % 2 || (x < 3 && y < 3) || x == 2 || y == 2 {
        println!("Second");
    } else {
        println!("First");
    }
}
            
            
            
        
            
特命ログイン