AI Coding · Tesla · Hard
Requirements Launch 10 parallel instances of main. Every worker must call run(target), where target is either A or B. Calls to run("A") must never overlap: only one may be running at any moment. Calls to run("B") must likewise be limited to one at a time. Keep both targets as busy as possible: if both targets are available and workers are waiting, both targets should be in use. The supplied setup() and run(target) functions must remain unchanged. The available functions have…
Checking your access…