spojbot

Spoj Solution Submitter


License
Apache-2.0
Install
pip install spojbot==0.1a

Documentation

spojbot

spojbot is just another experimental project. I just want to make clone of a tool which is used in spojtoolkit.com. So most of the code is tight and not much ui is provided, and the only usage is provided below

Installation

sudo pip install spojbot

Usage

python -m spojbot --inputfile filename.py --code TEST --lang 4 \
--username spojbot --password spojboo

python -m spojbot -i filename.py -c TEST -l 4 -u spojbot -p spojboo

Spoj Language Codes

1 C++(g++4.0.0-8)

2 Pascal(gpc20070904)

3 Perl(perl5.12.1)

4 Python(python2.7)

5 Fortran95(gfortran4.3.2)

6 Whitespace(wspace0.3)

7 ADA95(gnat4.3.2)

8 Ocaml(ocamlopt3.10.2)

9 Intercal(ick0.28-4)

10 Java(JavaSE6)

11 C(gcc4.3.2)

12 Brainf**k(bff1.0.3.1)

13 Assembler(nasm2.03.01)

14 Clips(clips6.24)

15 Prolog(swipl5.6.58)

16 Icon(iconc9.4.3)

17 Ruby(ruby1.9.3)

18 Scheme(stalin0.11)

19 Pike(pike7.6.112)

20 D(gdc4.1.3)

21 Haskell(ghc6.10.4)

22 Pascal(fpc2.2.4)

23 Smalltalk(gst3.0.3)

24 JAR(JavaSE6)

25 Nice(nicec0.9.6)

26 Lua(luac5.1.3)

27 C#(gmcs2.0.1)

28 Bash(bash-4.0.37)

29 PHP(php5.2.6)

30 Nemerle(ncc0.9.3)

31 CommonLisp(sbcl1.0.18)

32 CommonLisp(clisp2.44.1)

33 Scheme(guile1.8.5)

34 C99strict(gcc4.3.2)

35 JavaScript(rhino1.7R1-2)

36 Erlang(erl5.6.3)

38 Tcl(tclsh8.5.3)

39 Scala(scala2.8.0)

41 C++(g++4.3.2)

46 Sed(sed-4.2)

54 Perl6(rakudo-2010.08)

56 Node.js(0.8.11)

62 Text(plaintext)

98 Python3.4(Python3.4)

99 Python(PyPy2.4)

104 Awk(gawk-3.1.6)

111 Clojure(clojure1.1.0)

114 Go(gc2010-07-14)

116 Python3(python3.2.3)

124 F#(fsharp2.0.0)

126 Python3nbc(python3.2.3nbc)