QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#839033#1. I/O Testntprc0x0 0ms0kbRust576b2025-01-01 10:42:402025-01-01 10:42:41

Judging History

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

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

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
361479465 790067633 228639902 522225801 596357258 929465776 537715353 322854294 322477548 694325815 

output:


result:


Subtask #2:

score: 0
output_test Judgement Failed

Test #2:

score: 0
output_test Judgement Failed

input:

10

output:


result: