Borderou de evaluare (job #3122070)

Utilizator alexpanaAlexandru Pana alexpana Data 16 aprilie 2023 22:03:34
Problema K Aparitii Status done
Runda Arhiva Monthly Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Compilare: warning: unused import: `std::io::Read` --> main.rs:2:5 | 2 | use std::io::Read; | ^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused variable: `fin` --> main.rs:7:13 | 7 | let mut fin = std::fs::File::open("aparitii.in").unwrap(); | ^^^ help: if this is intentional, prefix it with an underscore: `_fin` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `n` --> main.rs:10:9 | 10 | let n = it.next().unwrap().parse::<usize>().unwrap(); | ^ help: if this is intentional, prefix it with an underscore: `_n` warning: unused variable: `c` --> main.rs:17:13 | 17 | let c = match h.get(&key) { | ^ help: if this is intentional, prefix it with an underscore: `_c` warning: variable does not need to be mutable --> main.rs:6:9 | 6 | let mut b = String::new(); | ----^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> main.rs:7:9 | 7 | let mut fin = std::fs::File::open("aparitii.in").unwrap(); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> main.rs:13:9 | 13 | let mut h = HashMap::<u32, u32>::new();
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms311kbNon zero exit status: 10100
20ms311kbNon zero exit status: 1010
30ms311kbNon zero exit status: 1010
40ms311kbNon zero exit status: 1010
50ms311kbNon zero exit status: 1010
60ms311kbNon zero exit status: 1010
70ms311kbNon zero exit status: 1010
80ms311kbNon zero exit status: 1010
90ms311kbNon zero exit status: 1010
100ms311kbNon zero exit status: 1010
Punctaj total0

Ceva nu functioneaza?