QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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`.