QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#839027#1. I/O Testntprc0x0 0ms0kbRust574b2025-01-01 10:40:272025-01-01 10:40:27

Judging History

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

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

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

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:

100
184360031 825616648 482164486 404622972 122146664 348361750 491280378 167739716 551225628 825409124 719729202 962367316 568279083 440715280 825632365 791968624 550135213 609385782 968247039 874188243 960702484 800906120 685179738 328518688 164484682 873859190 623555036 567306047 425770879 687875...

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

100

output:


result: