Closed NazarovSh closed 8 months ago
From the exception, i see that you don't have enough rights to pull the docker image. Make sure you have enough rights to use docker before launching the service.
For your second question, convertedTestCases is not part of the contract, it's something used internally by the service. Please follow the documentation in the readme.md file on how to make calls to the service.
THANKS! it worked, but still get some errors like this java.security.policy: error parsing file:/app/security.policy: line 2: expected codeBase or SignedBy or Principal
while using multipart
source code
public class For20 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 1; i <= n; i++) {
System.out.print(i+" ");
}
}
}
inputs 3 5
expected outputs 1 2 3 1 2 3 4 5
Hi, I fixed that issue, a quote was missing in the security.policy file
I followed the instructions step by step but this error occurred,
"error": "Unable to find image 'compiler.java:latest' locally\ndocker: Error response from daemon: pull access denied for compiler.java, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.\nSee 'docker run --help'.\n",
also while using this (/api/compile/json) api endpoint why I should provide list of "convertedTestCases" in json ?