Closed rahulkumarsingh73690 closed 1 year ago
Where is docs - swagger-ui.html??
Yes, or just go to http://localhost:8080/ you'll be redirected to the swagger-ui.html
Can you please send a postman demo?
{ "timestamp": "2022-12-15T16:08:48.066+00:00", "status": 500, "error": "Internal Server Error", "message": "", "path": "/api/compile" }
Did you follow these steps to run a container instance of the compiler ?
Yes, I followed all steps
I updated the compiler to return messages of all unexpected exceptions. Can you please clone the current version, then run it and paste the returned message in the discussion so I can investigate the issue?
Thank you.
can I put command line expression in this compiler like input?
On Sat, 17 Dec 2022 at 6:52 PM, Zakaria Maaraki @.***> wrote:
I updated the compiler to return messages of all unexpected exceptions. Can you please clone the current version, then run it and paste the returned message in the discussion so I can investigate the issue?
— Reply to this email directly, view it on GitHub https://github.com/zakariamaaraki/RemoteCodeCompiler/issues/42#issuecomment-1356262276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI565O2PMQNWUXO3JXIGPP3WNW473ANCNFSM6AAAAAAS5PGW6U . You are receiving this because you authored the thread.Message ID: @.***>
Yes you can!
How? I am using https://github.com/judge0/judge0 but the problem is file size
is expectedOutput necessary to test the compiler?
Yes expectedOutput is necessary, and input no.
expectedOutput is used to return the verdict as a response
Why? How i suppose to know output if i am running code in compiler
I mean like this https://ide.judge0.com/
This compiler was made for competitive programming, you can use it as an API. Imagine you want to create a platform for competitive programming where a user can submit his code, now how can you check that his code is correct? you can use this compiler just by sending the code written by the user and multiple test cases (inputs + expected outputs), and the memory limit and time limit that the code should not exceed :)
Ohh sorry but is it possible to use this as a normal code compiler?
No this is not the goal of this project :/