judge-server
judge-server copied to clipboard
Invalid Result IR, using Swift
I'm trying to use swift language, but all executions return IR.
Judge Config
swiftc: /opt/swift/usr/bin/swiftc
All execution result:
Execution Results
Test case #1: IR
Is there any configuration required?
There isn't any other configuration required to get Swift to work. Something is wrong here; usually these things happen because the runtime hits the sandbox in a way that hasn't been whitelisted.
Do self-tests pass?
Are any warnings printed during judge initialization?
Are you using the Docker images provided by https://github.com/DMOJ/runtimes-docker? I'd strongly recommend those, especially if you're using more niche languages, since we ensure that at least runtimes-docker
works.
Thanks for the reply !
I'm using default settings and docker images, I still haven't been able to resolve the issue.
Do you have any example of a judge's configuration with Swift configured?