QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#705797 | #9537. Chinese Chess | ucup-team3607# | Compile Error | / | / | Rust | 9.3kb | 2024-11-03 01:43:20 | 2024-11-03 01:43:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
error[E0308]: mismatched types --> answer.code:145:47 | 145 | hm.entry(q).or_default().push(p); | ---- ^ expected `char`, found `&char` | | | arguments to this method are incorrect | note: method defined here --> /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/alloc/src/vec/mod.rs:1880:12 help: consider dereferencing the borrow | 145 | hm.entry(q).or_default().push(*p); | + error: aborting due to previous error For more information about this error, try `rustc --explain E0308`.