結果
問題 |
No.2739 Time is money
|
ユーザー |
|
提出日時 | 2024-04-20 16:57:16 |
言語 | Rust (1.83.0 + proconio) |
結果 |
WA
|
実行時間 | - |
コード長 | 911 bytes |
コンパイル時間 | 17,926 ms |
コンパイル使用メモリ | 390,424 KB |
実行使用メモリ | 13,592 KB |
最終ジャッジ日時 | 2024-10-12 12:48:25 |
合計ジャッジ時間 | 16,460 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 18 |
コンパイルメッセージ
warning: unused variable: `N` --> src/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` --> src/main.rs:28:13 | 28 | X: usize, | ^ help: if this is intentional, prefix it with an underscore: `_X` warning: unused variable: `UVCT` --> src/main.rs:29:13 | 29 | UVCT: [(Usize1, Usize1, usize, usize); M] | ^^^^ help: if this is intentional, prefix it with an underscore: `_UVCT`
ソースコード
#![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::{ fastout, 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(); }