結果
| 問題 | 
                            No.8032 Unavailability of Inequality Signs 
                             | 
                    
| コンテスト | |
| ユーザー | 
                             tanakh
                         | 
                    
| 提出日時 | 2018-04-02 04:04:44 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 716 bytes | 
| コンパイル時間 | 12,549 ms | 
| コンパイル使用メモリ | 379,000 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-26 06:29:48 | 
| 合計ジャッジ時間 | 13,442 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
fn main() {
    let read_line = || {
        let mut s = String::new();
        std::io::stdin().read_line(&mut s).unwrap();
        s.trim().to_owned()
    };
    let n = read_line().parse().unwrap();
    for _ in 0..n {
        let line = read_line();
        let a: i32 = line.split_whitespace().nth(0).unwrap().parse().unwrap();
        let b: i32 = line.split_whitespace().nth(1).unwrap().parse().unwrap();
        use std::cmp::Ordering::*;
        let ord = a.cmp(&b);
        println!(
            "{}",
            if ord == Equal {
                '='
            } else if ord == Greater {
                62u8 as char
            } else {
                60u8 as char
            }
        );
    }
}
            
            
            
        
            
tanakh