Skip to content

测试用例块中的字符串用例上传时会丢失其中的井号字符(# #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lewis-yeung opened this issue Jan 22, 2023 · 1 comment · Fixed by #153
Closed
Labels
bug Something isn't working

Comments

@lewis-yeung
Copy link

点击测试用例块(@lcpr case)中的 case 运行测试时,若用例为含有若干 # 的字符串,则会导致最终上传的用例中所有 # 都会丢失。暂时只在 C++ 中发现该问题(如下图所示),其他语言未测试。若点击 Test 直接手动输入用例并测试,则没有该问题。

bug_1
bug_2

相关日志:

{"messages":["Finished"],"system_message":{"fid":"844","id":874,"qid":874,"sub_type":"test","accepted":true},"Your Input":["\"acd\"\n\"abad\"\n"],"Output (4 ms)":["false"],"Expected Answer":["false"],"Stdout":[""]}
@ccagml ccagml linked a pull request Jan 23, 2023 that will close this issue
@ccagml
Copy link
Owner

ccagml commented Jan 23, 2023

已修复,感谢

@ccagml ccagml closed this as completed Jan 23, 2023
@ccagml ccagml added the bug Something isn't working label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants