Pagini recente » Borderou de evaluare (job #2812575) | Borderou de evaluare (job #558066) | Borderou de evaluare (job #3199776) | Borderou de evaluare (job #1328684) | Borderou de evaluare (job #2751178)
Borderou de evaluare (job #2751178)
Raport evaluator
Compilare:
warning: unreachable statement
--> main.rs:31:5
|
29 | return;
| ------ any code following this expression is unreachable
30 |
31 | let mut a = 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:33:9
|
33 | 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:39:9
|
39 | 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 | 4ms | 262kb | Incorect | 0 |
2 | 4ms | 262kb | Incorect | 0 |
3 | 4ms | 262kb | Incorect | 0 |
4 | 4ms | 262kb | Incorect | 0 |
5 | 4ms | 262kb | Incorect | 0 |
6 | 4ms | 262kb | Incorect | 0 |
7 | 4ms | 262kb | Incorect | 0 |
8 | 4ms | 262kb | Incorect | 0 |
9 | 4ms | 262kb | Incorect | 0 |
10 | 4ms | 262kb | Incorect | 0 |
Punctaj total | 0 |