QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#839022#1. I/O Testntprc0x0 0ms0kbRust577b2025-01-01 10:36:192025-01-01 10:36:19

Judging History

你现在查看的是最新测评结果

  • [2025-01-01 10:36:19]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [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

output:


result: