QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#839021#1. I/O Testntprc0x0 0ms0kbRust583b2025-01-01 10:35:362025-01-01 10:35:38

Judging History

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

  • [2025-01-01 10:35:38]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2025-01-01 10:35:36]
  • 提交

config.txt

100000 100000

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(" "));
}

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:

100000
366740428 217223221 805519961 252884676 454930050 839877340 397662126 333139420 563356490 402800964 939201339 918151542 776800599 755652113 120855526 403983212 812983551 459970165 681221538 560329151 141411356 768478589 883728128 153860278 306876441 286059844 566908574 346573776 451006540 117...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

100000

output:


result: