結果
問題 |
No.3010 水色コーダーさん
|
ユーザー |
![]() |
提出日時 | 2025-01-25 16:41:08 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 706 bytes |
コンパイル時間 | 25,642 ms |
コンパイル使用メモリ | 378,496 KB |
実行使用メモリ | 26,880 KB |
最終ジャッジ日時 | 2025-01-25 23:54:46 |
合計ジャッジ時間 | 15,060 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
コンパイルメッセージ
warning: unused variable: `m` --> src/main.rs:16:9 | 16 | m: usize, | ^ help: if this is intentional, prefix it with an underscore: `_m` | = note: `#[warn(unused_variables)]` on by default
ソースコード
#[rustfmt::skip] pub mod lib { // pub use ac_library::*; // pub use itertools::{Combinations, Itertools, MultiProduct, Permutations}; pub use proconio::{input,marker::{Chars, Usize1}}; // pub use std::{cmp::*, collections::*, mem::swap}; // pub use regex::Regex; // pub use superslice::Ext; } pub use lib::*; fn main() { input! { n: usize, m: usize, sr: [(Chars, usize); n] } let mut ans = 0; for i in 0..n { if sr[i].1 < 1200 { continue; } for j in 0..4 { if sr[i].0[j] == 'x' { ans += 1usize; break; } } } println!("{}", ans); }