Reference Solution in 'Create Problem'

56 次查看(过去 30 天)
In 'Create Problem' page, there is the section 'Reference Solution', which refers to 'Optionally enter a solution to check against the tests in your test suite'.
Is it visible somewhere for everyone?
I have assumed that it is hiden because I do not see it anywhere. So I have used it just to check the tests, and have written the code without any care.
If it is visible, is it possible to hide it or should I update the problem for cleaning it?
Thank you in advance.

采纳的回答

Dyuman Joshi
Dyuman Joshi 2025-12-3,15:00
"Is it visible somewhere for everyone?"
No, the reference solution is hidden for everyone who is trying/attempting to solve the problem.
However, moderators and admins (and ofcourse the problem creators) can see the reference solutions while editing the problem as they have editing rights to questions.
"So I have used it just to check the tests, and have written the code without any care."
You need not worry about that.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by