QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#801779 | #9804. Guess the Polygon | HuangHanSheng | Compile Error | / | / | Rust | 1.8kb | 2024-12-07 09:16:43 | 2024-12-07 09:16:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
error: character literal may only contain one codepoint --> answer.code:7:12 | 7 | print(f'? {x.numerator} {x.denominator}') | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: if you meant to write a `str` literal, use double quotes | 7 | print(f"? {x.numerator} {x.denominator}") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0762]: unterminated character literal --> answer.code:51:41 | 51 | print(f'i = {i}, ans = {ans}') | ^^ error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0762`.