Giter Site home page Giter Site logo

Comments (8)

sunner avatar sunner commented on May 24, 2024

Please provide more details. Such as the configure of onlinejudge assignment

from moodle-local_onlinejudge.

zgjava avatar zgjava commented on May 24, 2024

[root@localhost zgjava]# cc -v
使用内建 specs。
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-redhat-linux/4.6.0/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
目标:x86_64-unknown-linux-gnu
配置为:../gcc-4.6.0/configure --prefix=/usr/lib/gcc/x86_64-redhat-linux/4.6.0/ --with-gmp=/usr/local/lib/gmp-5.0.2/ --with-mpfr=/usr/local/lib/mpfr-3.0.1/ --with-mpc=/usr/local/lib/mpc-0.9/ --mandir=/usr/sharegcc-4.6.0/man --infodir=/usr/share/gcc-4.6.0/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,go --disable-dssi --enable-plugin --with-cpu=generic
线程模型:posix
gcc 版本 4.6.0 (GCC)
[root@localhost zgjava]# uname -a
Linux localhost 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

from moodle-local_onlinejudge.

zgjava avatar zgjava commented on May 24, 2024

测试用例:
输入:I am a teacher!
输出:
input cipher code:
cipher code :I am a teacher!
original text:R zn z gvzxsvi!

from moodle-local_onlinejudge.

sunner avatar sunner commented on May 24, 2024

I means the configure/settings of the onlinejudge assignment activity in moodle

from moodle-local_onlinejudge.

zgjava avatar zgjava commented on May 24, 2024

最多可用内存(MB)
local_onlinejudge | maxmemlimit
默认:64
一个被测程序最多可以使用多少内存。

最多可用CPU时间(秒)
local_onlinejudge | maxcpulimit
默认:10
一个被测程序最多可以运行多长时间。

发往ideone.com的访问请求之间的时间间隔(秒)
local_onlinejudge | ideonedelay
默认:10
向ideone.com发送评测请求和查询结果之间如何间隔太短,会被拒绝访问。这个间隔应该多大?

缺省语言
C(本地运行)

from moodle-local_onlinejudge.

sunner avatar sunner commented on May 24, 2024

Which language(ideone/local) is this assignment using?

from moodle-local_onlinejudge.

zgjava avatar zgjava commented on May 24, 2024

C(本地运行)

from moodle-local_onlinejudge.

sunner avatar sunner commented on May 24, 2024

If you do not give a '\n' in the input of testcase, the program will be infinite loop and access beyond the border of c1 and c2.

For getchar(), the return value EOF should always be processed

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.