QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#839036 | #1. I/O Test | ntprc0x | 0 | 0ms | 0kb | Rust | 580b | 2025-01-01 10:43:55 | 2025-01-01 10:43:55 |
config.txt
10 10
input_test
fn main() {
let mut it = std::io::stdin().lines();
let n = it.next().unwrap().unwrap().trim().parse::<usize>().unwrap();
let data = it.next().unwrap().unwrap().split_whitespace().take(n).map(|x| x.parse::<usize>().unwrap()).collect::<Vec<_>>();
let sum = data.iter().sum::<usize>();
//println!("{}", sum);
}
output_test
use std::iter;
fn main() {
let mut it = std::io::stdin().lines();
let n = it.next().unwrap().unwrap().trim().parse::<usize>().unwrap();
//println!("{}", iter::repeat_n("100000000", n).collect::<Vec<_>>().join(" "));
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
10 574977423 173113309 329835629 171857527 357046749 215422966 589839813 986529081 473642480 409155456
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
10