Compile Error

error[E0425]: cannot find value `n` in this scope
  --> /w/foo.rs:13:5
   |
13 |     n = a[0];
   |     ^ help: a local variable with a similar name exists: `a`

error[E0425]: cannot find value `n` in this scope
  --> /w/foo.rs:29:19
   |
29 |     for i in 0 .. n as usize {
   |                   ^ help: a local variable with a similar name exists: `a`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0425`.
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1088 数组--排序
语言
Rust
递交时间
2023-07-15 23:16:03
评测时间
2023-07-15 23:16:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes