Closed syamcode closed 9 years ago
Hey @syamcode,
Does this file exist and executable: moe/obj/box/box?
did you mean moe/box ? yes, its exist and executable
No, you must have moe/obj/box/box. If not, then Moe was not built correctly.
Try rebuilding it. Inside moe directory, run
./configure
and then
make
thanks @fushar , now the error message is not shown, but when i try to submit a submission, the verdict is always Runtime Error.. i try to make a simple problem, this is my code
int main(void) { int n; scanf("%d",&n); printf("%d\n",n); return 0; }
input : 100 output : 100\n i have upload my test case with .in and .out extension.
Have you set up the correct compiler path etc in Manage->Languages?
i use default compiler path, and i think my compiler path is correct because when i upload a submission the compiler result is shown, and this is the compile result : source.c: In function ‘main’: source.c:5:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Solved, i have wrong permission in the moe directory thanks for your help @fushar
Hi @fushar , when i compiling the code, why this error always appear here is the full of error message, [2015-03-25 16:22:20] Grader started. [2015-03-25 16:22:20] Waiting for new submission... [2015-03-25 16:25:00] Found new submission! Submission : 13 User : syamcode (Muhamad Hisyam) Contest : 1 (Tes Coding Competition) Problem : TL (Tulis Lagi) Language : C [2015-03-25 16:25:02] Compile status : 0
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/result): failed to open stream: No such file or directory
Filename: controllers/grader.php
Line Number: 276
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/checker_op): failed to open stream: No such file or directory
Filename: controllers/grader.php
Line Number: 310
A PHP Error was encountered
Severity: Warning
Message: unlink(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/checker_op): No such file or directory
Filename: controllers/grader.php
Line Number: 318
A PHP Error was encountered
Severity: Notice
Message: Undefined index: time-wall
Filename: controllers/grader.php
Line Number: 333
A PHP Error was encountered
Severity: Notice
Message: Undefined index: mem
Filename: controllers/grader.php
Line Number: 334
A PHP Error was encountered
Severity: Warning
Message: unlink(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/error): No such file or directory
Filename: controllers/grader.php
Line Number: 342
A PHP Error was encountered
Severity: Warning
Message: unlink(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/result): No such file or directory
Filename: controllers/grader.php
Line Number: 343
A PHP Error was encountered
Severity: Warning
Message: unlink(secret-8f4b3123e46ddd5b85b0e57b49e598d4/13/judging/2/2.out): No such file or directory
Filename: controllers/grader.php
Line Number: 344