QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#839022 | #1. I/O Test | ntprc0x | 0 | 0ms | 0kb | Rust | 577b | 2025-01-01 10:36:19 | 2025-01-01 10:36:19 |
config.txt
100 100
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
fn main() {
let mut it = std::io::stdin().lines();
let n = it.next().unwrap().unwrap().trim().parse::<usize>().unwrap();
println!("{}", (1_0000_0000usize..).take(n).map(|x| x.to_string()).collect::<Vec<_>>().join(" "));
}
详细
Subtask #1:
score: 0
input_test Judgement Failed
Test #1:
score: 0
input_test Judgement Failed
input:
100 631190110 168026963 331931155 622890095 431371460 678787115 261006261 193432747 351140332 217678710 798389009 142652386 293794630 861950604 705046457 592606556 961214659 438760847 915795864 647944558 901682640 371754905 525093062 330374176 640677079 648300297 584179044 681251704 377067932 991307...
output:
result:
Subtask #2:
score: 0
output_test Judgement Failed
Test #2:
score: 0
output_test Judgement Failed
input:
100