QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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`.