Submission #39970369
Source Code Expand
use proconio::input; fn main() { input! { n: usize, h: usize, w: usize, ab: [(usize, usize); n] }; let ans = ab.into_iter().filter(|&(a, b)| a >= h && b >= w).count(); println!("{}", ans); }
Submission Info
Submission Time | |
---|---|
Task | B - AtCoder Alloy |
User | bouzuya |
Language | Rust (1.42.0) |
Score | 200 |
Code Size | 240 Byte |
Status | AC |
Exec Time | 6 ms |
Memory | 2172 KiB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1.txt, sample2.txt |
All | sample1.txt, sample2.txt, 1.txt, 10.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, sample1.txt, sample2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
1.txt | AC | 6 ms | 2048 KiB |
10.txt | AC | 2 ms | 2076 KiB |
2.txt | AC | 2 ms | 2000 KiB |
3.txt | AC | 2 ms | 1976 KiB |
4.txt | AC | 2 ms | 2172 KiB |
5.txt | AC | 2 ms | 2108 KiB |
6.txt | AC | 2 ms | 2032 KiB |
7.txt | AC | 1 ms | 2072 KiB |
8.txt | AC | 2 ms | 2072 KiB |
9.txt | AC | 2 ms | 2056 KiB |
sample1.txt | AC | 1 ms | 2032 KiB |
sample2.txt | AC | 1 ms | 2008 KiB |