Giter Site home page Giter Site logo

Comments (5)

ndrwnaguib avatar ndrwnaguib commented on July 18, 2024

Hello @changchencjx! Thank you for submitting your inquiry.

Are you sure you have the judge daemon running as illustrated in README#Installation or Uprading:

For Linux:

 In shell, sudo -u www-data php MOODLE_PATH/local/onlinejudge/cli/judged.php, to launch the Judge Daemon.

For Windows:

php.exe MOODLE_PATH\local\onlinejudge\cli\judged.php -v

from moodle-local_onlinejudge.

changchencjx avatar changchencjx commented on July 18, 2024

Hello @changchencjx! Thank you for submitting your inquiry.

Are you sure you have the judge daemon running as illustrated in README#Installation or Uprading:

For Linux:

 In shell, sudo -u www-data php MOODLE_PATH/local/onlinejudge/cli/judged.php, to launch the Judge Daemon.

For Windows:

php.exe MOODLE_PATH\local\onlinejudge\cli\judged.php -v

Yes, I've already run the daemon. I don't know if the 'input' in Testcases can be used as the value of 'scanf' in C File? @andrewnaguib

from moodle-local_onlinejudge.

ndrwnaguib avatar ndrwnaguib commented on July 18, 2024

Yes, you can!

Can you please execute the judge daemon with the verbose option and no daemon by adding -n -v to the arguments, and post the output it shows when it judges your submission?

from moodle-local_onlinejudge.

changchencjx avatar changchencjx commented on July 18, 2024

Yes, you can!

Can you please execute the judge daemon with the verbose option and no daemon by adding to the arguments, and post the output it shows when it judges your submission?-n -v

Alright, I checked the shell and found that there was a 'segment fault' during its judgment, I thought there must be something wrong in my environment, and thanks for your help anyway!

from moodle-local_onlinejudge.

ndrwnaguib avatar ndrwnaguib commented on July 18, 2024

You're welcome!

from moodle-local_onlinejudge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.