Skip to content
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

題目建立測資如何使用tab #61

Open
B05611003 opened this issue Sep 22, 2019 · 1 comment
Open

題目建立測資如何使用tab #61

B05611003 opened this issue Sep 22, 2019 · 1 comment

Comments

@B05611003
Copy link

您好,我在建立題目時,Test Cases當中input會用到tab分隔,但是文字輸入並沒辦法輸入tab(會直接跳至下一個欄位),因此我是直接複製本地的txt檔文字至Test case 中,但是我建立好之後去judge的/tmp/voj-testpoints當中去查看input#0.txt 發現並沒有tab分隔,想請問如何解決

@node
Copy link

node commented Jul 27, 2021

有多种解决方案,但成本最低的是建议使用前端页面的方案:用js拦截tab按键,然后在textarea里面插入 \t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants