Reference Solution in 'Create Problem'

51 ビュー (過去 30 日間)
Luisa
Luisa 2025 年 11 月 29 日 15:08
回答済み: Dyuman Joshi 2025 年 12 月 3 日 15:00
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 Center および File ExchangeTesting Frameworks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by