Pagini recente » Borderou de evaluare (job #1368397) | Borderou de evaluare (job #2643350) | Borderou de evaluare (job #1357885) | Borderou de evaluare (job #226697) | Borderou de evaluare (job #2653164)
Borderou de evaluare (job #2653164)
Raport evaluator
Compilare:
warning: unused import: `std::fs`
--> main.rs:1:5
|
1 | use std::fs;
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unnecessary parentheses around function argument
--> main.rs:11:21
|
11 | return myGcd(b, (a % b));
| ^^^^^^^ help: remove these parentheses
|
= note: `#[warn(unused_parens)]` on by default
warning: unused variable: `i`
--> main.rs:23:9
|
23 | for i in 0..n
| ^ help: if this is intentional, prefix it with an underscore: `_i`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> main.rs:5:10
|
5 | fn myGcd(mut a: i32, mut b: i32) -> i32{
| ----^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: variable does not need to be mutable
--> main.rs:5:22
|
5 | fn myGcd(mut a: i32, mut b: i32) -> i32{
| ----^
| |
| help: remove this `mut`
warning: variable does not need to be mutable
--> main.rs:27:13
|
27 | let mut arr:Vec <i32> = line.split_whitespace().map(|x| x.parse().unwrap()).collect();
| ----^^^
| |
| help: remove this `mut`
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 262kb | OK | 10 | 10 |
2 | 5ms | 262kb | OK | 10 | 20 |
3 | 5ms | 262kb | OK | 10 |
4 | 34ms | 393kb | OK | 10 | 10 |
5 | 47ms | 393kb | OK | 10 | 10 |
6 | 66ms | 393kb | OK | 10 | 10 |
7 | 76ms | 524kb | OK | 10 | 40 |
8 | 90ms | 524kb | OK | 10 |
9 | 94ms | 393kb | OK | 10 |
10 | 147ms | 786kb | OK | 10 |
Punctaj total | 100 |