結果

問題 No.2112 All 2x2 are Equal
コンテスト
ユーザー Be11T_
提出日時 2022-10-28 23:38:23
言語 Rust
(1.94.0 + proconio + num + itertools)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
WA  
実行時間 -
コード長 522 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,427 ms
コンパイル使用メモリ 187,848 KB
実行使用メモリ 6,144 KB
最終ジャッジ日時 2026-03-27 13:21:59
合計ジャッジ時間 6,846 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 34
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `h`
  --> src/main.rs:25:9
   |
25 |         h: usize,
   |         ^ help: if this is intentional, prefix it with an underscore: `_h`
   |
   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `w`
  --> src/main.rs:26:9
   |
26 |         w: usize,
   |         ^ help: if this is intentional, prefix it with an underscore: `_w`

warning: constant `inf` should have an upper case name
  --> src/main.rs:18:7
   |
18 | const inf: i64 = 1000000001;
   |       ^^^ help: convert the identifier to upper case: `INF`
   |
   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default

ソースコード

diff #
raw source code

#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_macros)]

extern crate num;
use proconio::marker::*;
use proconio::*;
use num::*;
use num::integer::*;
use std::cmp::*;
use std::collections::*;
use std::*;
use std::f32::consts::E;
use std::mem::swap;
use std::str::FromStr;
use std::vec;
use itertools::Itertools as _;
const inf: i64 = 1000000001;
const INF: i64 = 1000000000000000001;

//use ac_library_rs::dsu::*;
fn main() {

    input! {
        h: usize,
        w: usize,
    }

    println!("No");

}
0