记录详情

Wrong Answer

warning: unused variable: `n`
  --> /w/foo.rs:20:13
   |
20 | 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:20:9
   |
20 | 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)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 5. 2ms 284.0 KiB
#2 Wrong Answer Read 1, expect 143. 2ms 284.0 KiB
#3 Wrong Answer Read 1, expect 1001. 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Wrong Answer Read 5, expect 15015. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
5-3 最大公约数
语言
Rust
递交时间
2023-08-08 04:01:19
评测时间
2023-08-08 04:01:19
评测机
分数
20
总耗时
13ms
峰值内存
412.0 KiB