Submission #37946625
Source Code Expand
use proconio::input;
fn main() {
input! {
n:u64,
}
for _ in 0..n {
let mut cnt = 0;
input! {
a:u64,
inlist:[u64;a],
}
for i in inlist {
if i % 2 == 1 {
cnt += 1;
}
}
println!("{}", cnt);
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Multi Test Cases |
| User | sou31415 |
| Language | Rust (1.42.0) |
| Score | 200 |
| Code Size | 328 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 2208 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt |
| All | 00_sample_00.txt, 01_random_00.txt, 01_random_01.txt, 02_max_00.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 6 ms | 2052 KiB |
| 01_random_00.txt | AC | 2 ms | 2084 KiB |
| 01_random_01.txt | AC | 2 ms | 2108 KiB |
| 02_max_00.txt | AC | 2 ms | 2208 KiB |