QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#290157 | #6794. Sequence to Sequence | repoman# | Compile Error | / | / | Rust | 2.4kb | 2023-12-24 14:50:49 | 2023-12-24 14:50:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
error[E0608]: cannot index into a value of type `{integer}` --> answer.code:41:12 | 41 | if b[i] != 0 { | ^^^^ error[E0608]: cannot index into a value of type `{integer}` --> answer.code:45:22 | 45 | let dr = a[i] - 1; | ^^^^ error[E0608]: cannot index into a value of type `i64` --> answer.code:83:31 | 83 | mt = cmp::max(mt, a[i]); | ^^^^ error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0608`.