Pagini recente » Borderou de evaluare (job #1253796) | Cod sursa (job #3323906) | Cod sursa (job #3323909) | Borderou de evaluare (job #1253792) | Borderou de evaluare (job #3312234)
Borderou de evaluare (job #3312234)
Raport evaluator
Compilare:
warning: unreachable statement
--> main.rs:234:5
|
233 | panic!("Err");
| ------------- any code following this expression is unreachable
234 | input.read_line(&mut buf).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
|
= note: `#[warn(unreachable_code)]` on by default
warning: unused variable: `input`
--> main.rs:231:13
|
231 | let mut input = BufReader::new(file);
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `buf`
--> main.rs:232:13
|
232 | let mut buf: String = "".to_owned();
| ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
warning: variable does not need to be mutable
--> main.rs:231:9
|
231 | let mut input = BufReader::new(file);
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variable does not need to be mutable
--> main.rs:232:9
|
232 | let mut buf: String = "".to_owned();
| ----^^^
| |
| help: remove this `mut`
warning: 5 warnings emitted
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 2 | 0ms | 364kb | Non zero exit status: 101 | 0 |
| 3 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 4 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 5 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 6 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 7 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 8 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 9 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| 10 | 0ms | 311kb | Non zero exit status: 101 | 0 |
| Punctaj total | 0 |