Pagini recente » Borderou de evaluare (job #240185) | Borderou de evaluare (job #2292974) | Borderou de evaluare (job #1659144) | Borderou de evaluare (job #3211041) | Borderou de evaluare (job #2751176)
Borderou de evaluare (job #2751176)
Raport evaluator
Compilare:
warning: unreachable statement
--> main.rs:35:5
|
33 | return;
| ------ any code following this expression is unreachable
34 |
35 | let mut b = String::new();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
|
= note: `#[warn(unreachable_code)]` on by default
warning: unused variable: `output`
--> main.rs:23:9
|
23 | let mut output = BufWriter::new(File::create("curatenie.out").unwrap());
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `n`
--> main.rs:27:9
|
27 | let n : usize = n.trim().parse().unwrap();
| ^ help: if this is intentional, prefix it with an underscore: `_n`
warning: unused variable: `a`
--> main.rs:31:9
|
31 | let a : Vec<i32> = a.split(" ").map(|x| x.trim().parse::<i32>().unwrap() - 1).collect();
| ^ help: if this is intentional, prefix it with an underscore: `_a`
warning: unused variable: `b`
--> main.rs:37:9
|
37 | let b : Vec<i32> = b.split(" ").map(|x| x.trim().parse::<i32>().unwrap() - 1).collect();
| ^ help: if this is intentional, prefix it with an underscore: `_b`
warning: variable does not need to be mutable
--> main.rs:23:9
|
23 | let mut output = BufWriter::new(File::create("curatenie.out").unwrap());
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: 6 warnings emitted
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 262kb | Non zero exit status: 101 | 0 |
2 | 5ms | 262kb | Non zero exit status: 101 | 0 |
3 | 5ms | 262kb | Non zero exit status: 101 | 0 |
4 | 6ms | 262kb | Non zero exit status: 101 | 0 |
5 | 13ms | 790kb | Non zero exit status: 101 | 0 |
6 | 20ms | 1314kb | Non zero exit status: 101 | 0 |
7 | 39ms | 2494kb | Non zero exit status: 101 | 0 |
8 | 48ms | 3018kb | Non zero exit status: 101 | 0 |
9 | 94ms | 5771kb | Non zero exit status: 101 | 0 |
10 | 5ms | 262kb | Non zero exit status: 101 | 0 |
Punctaj total | 0 |