Borderou de evaluare (job #2653281)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 27 septembrie 2020 16:06:19
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator rs | Vezi sursa
Scor 0

Raport evaluator

Compilare: warning: unused import: `std::fs` --> main.rs:1:5 | 1 | use std::fs; | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `Read` --> main.rs:3:53 | 3 | use std::io::{BufRead, BufReader, BufWriter, Write, Read}; | ^^^^ warning: variable does not need to be mutable --> main.rs:13:9 | 13 | let mut arr:Vec <usize> = line.trim().split_whitespace().map(|x| x.parse().unwrap()).collect(); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> main.rs:22:13 | 22 | let mut row : Vec<i32> = line.trim().split_whitespace().map(|x| x.parse().unwrap()).collect(); | ----^^^ | | | help: remove this `mut` warning: variable `FIN` should have a snake case name --> main.rs:7:13 | 7 | let mut FIN = BufReader::new(File::open("cmlsc.in").unwrap()); | ^^^ help: convert the identifier to snake case: `fin` | = note: `#[warn(non_snake_case)]` on by default warning: variable `FOUT` should have a snake case name --> main.rs:8:13 | 8 | let mut FOUT = BufWriter::new(File::create("cmlsc.out").unwrap()); | ^^^^ help: convert the identifier to snake case: `fout` warning: 6 warnings emitted
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms262kbFisier de iesire corupt!0
24ms262kbFisier de iesire corupt!0
35ms262kbLungime incorecta!0
45ms393kbLungime incorecta!0
56ms524kbLungime incorecta!0
611ms1835kbLungime incorecta!0
719ms3801kbLungime incorecta!0
820ms3932kbLungime incorecta!0
923ms4325kbLungime incorecta!0
1019ms3538kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?