Reference Solution in 'Create Problem'
57 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Luisa
am 29 Nov. 2025 um 15:08
Beantwortet: Dyuman Joshi
am 3 Dez. 2025 um 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.
0 Kommentare
Akzeptierte Antwort
Dyuman Joshi
am 3 Dez. 2025 um 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Testing Frameworks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!