Wrong Answer
warning: unused variable: `n`
--> /w/foo.rs:21:13
|
21 | fn calc(mut n: u32, mut numbers: Vec<u32>) -> u32 {
| ^ help: if this is intentional, prefix it with an underscore: `_n`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> /w/foo.rs:21:9
|
21 | fn calc(mut n: u32, mut numbers: Vec<u32>) -> u32 {
| ----^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: 2 warnings emitted
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 5-3 最大公约数
- 语言
- Rust
- 递交时间
- 2023-08-08 03:59:28
- 评测时间
- 2023-08-08 03:59:28
- 评测机
- 分数
- 20
- 总耗时
- 13ms
- 峰值内存
- 412.0 KiB