結果

問題 No.2739 Time is money
ユーザー 👑 tipstar0125tipstar0125
提出日時 2024-04-20 16:57:55
言語 Rust
(1.77.0)
結果
WA  
実行時間 -
コード長 905 bytes
コンパイル時間 1,476 ms
コンパイル使用メモリ 179,732 KB
実行使用メモリ 13,744 KB
最終ジャッジ日時 2024-04-20 16:57:58
合計ジャッジ時間 3,819 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `N`
  --> main.rs:26:13
   |
26 |             N: usize,
   |             ^ help: if this is intentional, prefix it with an underscore: `_N`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `X`
  --> main.rs:28:13
   |
28 |             X: usize,
   |             ^ help: if this is intentional, prefix it with an underscore: `_X`

warning: unused variable: `UVCT`
  --> main.rs:29:13
   |
29 |             UVCT: [(Usize1, Usize1, usize, usize); M]
   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_UVCT`

warning: 3 warnings emitted

ソースコード

diff #

#![allow(non_snake_case)]
#![allow(unused_imports)]
#![allow(unused_macros)]
#![allow(clippy::needless_range_loop)]
#![allow(clippy::comparison_chain)]
#![allow(clippy::nonminimal_bool)]
#![allow(clippy::neg_multiply)]
#![allow(dead_code)]
// use itertools::Itertools;
use std::cmp::Reverse;
use std::collections::{BTreeMap, BTreeSet, BinaryHeap, VecDeque};
// use superslice::Ext;
// use bitset_fixed::BitSet;

use proconio::{
    input,
    marker::{Chars, Usize1},
};

#[derive(Default)]
struct Solver {}
impl Solver {
    // #[fastout]
    fn solve(&mut self) {
        input! {
            N: usize,
            M: usize,
            X: usize,
            UVCT: [(Usize1, Usize1, usize, usize); M]
        }
    }
}

fn main() {
    std::thread::Builder::new()
        .stack_size(128 * 1024 * 1024)
        .spawn(|| Solver::default().solve())
        .unwrap()
        .join()
        .unwrap();
}
0