Skip to content

Instantly share code, notes, and snippets.

@Tarrasch
Created July 15, 2016 13:35
Show Gist options
  • Select an option

  • Save Tarrasch/2d4152a3d7b8bedcf9b07beea4201420 to your computer and use it in GitHub Desktop.

Select an option

Save Tarrasch/2d4152a3d7b8bedcf9b07beea4201420 to your computer and use it in GitHub Desktop.

Revisions

  1. Tarrasch created this gist Jul 15, 2016.
    43 changes: 43 additions & 0 deletions contestapplet.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    #TopCoder ContestApplet Preferences File
    #Sat Apr 19 19:43:11 CEST 2014
    com.topcoder.client.contestApplet.common.LocalPreferences.menufont=Arial
    com.topcoder.client.contestApplet.common.LocalPreferences.menufontsize=10
    com.topcoder.client.contestApplet.common.LocalPreferences.commonclasspath=/home/arash/tprog/TCws/
    com.topcoder.client.contestApplet.LocalPreferences.connectionType=DIRECT
    com.topcoder.jmaContestApplet.frames.codingframe.location=0\:25
    com.topcoder.jmaContestApplet.frames.codingframe.size=1920\:1055
    com.topcoder.jmaContestApplet.frames.codingframe.dividerloc=434
    com.topcoder.jmaContestApplet.frames.sourceViewer.location=0\:25
    com.topcoder.jmaContestApplet.frames.sourceViewer.size=1920\:1055
    com.topcoder.jmaContestApplet.frames.sourceViewer.dividerloc=293
    fileeditor.config.dirName=/home/arash/tprog/TCws/main/FEfolder/
    fileeditor.config.fileName=problem
    fileeditor.config.beginCut=// BEGIN CUT HERE
    fileeditor.config.endCut=// END CUT HERE
    fileeditor.config.probdescfileextnsion=txt
    fileeditor.config.signaturefilename=
    fileeditor.config.lineComments=true
    fileeditor.config.overrideFileName=false
    fileeditor.config.provideBreaks=false
    fileeditor.config.probdescfilewrite=false
    fileeditor.config.breakAt=60
    fileeditor.config.htmldesc=false
    fileeditor.config.backup=false
    fileeditor.config.javatemplate=$BEGINCUT$\n$PROBLEMDESC$\n$ENDCUT$\nimport java.util.*;\npublic class $CLASSNAME$ {\n\tpublic $RC$ $METHODNAME$($METHODPARMS$) {\n\t\t\n\t}\n\tpublic static void main(String[] args) {\n\t\t$CLASSNAME$ temp \= new $CLASSNAME$();\n\t\tSystem.out.println(temp.$METHODNAME$($METHODPARMS$));\n\t}\n}
    fileeditor.config.cpptemplate=// BEGIN CUT HERE\n\#define _GLIBCXX_DEBUG\n// END CUT HERE\n\#include <stdio.h>\n\#include <iostream>\n\#include <sstream>\n\#include <vector>\n\#include <list>\n\#include <set>\n\#include <stack>\n\#include <queue>\n\#include <map>\n\#include <string>\n\#include <algorithm>\n\#include <math.h>\n\#include <cmath>\n\#include <numeric>\n\#include <bitset>\n\nusing namespace std;\n\ntypedef pair < int, int > II;\ntypedef vector < int > VI;\ntypedef vector < II > VII;\ntypedef vector < VI > VVI;\ntypedef vector < string > VS;\ntypedef stringstream SS;\ntypedef set < int > SI;\ntypedef long long LL;\n\n\#define sz(c) ((int)((c).size()))\n\#define all(c) (c).begin(), (c).end()\n\#define tr(c, it) for(typeof((c).begin()) it \= (c).begin(); it\!\=(c).end(); it++)\n\#define sfor(type, e, start, stop) for(type e\=start; e<stop; e++)\n\#define foru(var, stop) sfor(int, var, 0, stop)\n\nclass $CLASSNAME$ {\n\tpublic\:\n\t$RC$ $METHODNAME$($METHODPARMS$) {\n\t\t\n\t}$BEGINCUT$\n\t$TESTCODE$\n$ENDCUT$\n};\n\n\n\n\n$BEGINCUT$\nint main(){\n\t$CLASSNAME$ ___test; \n\t___test.run_test(-1); \n}\n$ENDCUT$\n\n
    fileeditor.config.csharptemplate=using System;\r\nusing System.Collections;\r\npublic class $CLASSNAME$ {\r\n\tpublic $RC$ $METHODNAME$($METHODPARMS$) {\r\n\t\t$CARETPOSITION$\r\n\t}\r\n}
    fileeditor.config.javaextension=java
    fileeditor.config.cppextension=cpp
    fileeditor.config.csharpextension=cs
    editor.defaultname=CodeProcessor
    editor.1.name=FileEdit
    editor.1.entrypoint=fileedit.EntryPoint
    editor.1.classpath=/home/arash/tprog/TCws/\:/home/arash/tprog/TCws/FileEdit.jar
    editor.1.eager=0
    editor.numplugins=2
    editor.2.name=CodeProcessor
    editor.2.entrypoint=codeprocessor.EntryPoint
    editor.2.classpath=/home/arash/tprog/TCws/TZTester.jar\:/home/arash/tprog/TCws/FileEdit.jar\:/home/arash/tprog/TCws/CodeProcessor.jar
    editor.2.eager=1
    codeprocessor.config.pluginentrypoint=fileedit.EntryPoint
    codeprocessor.config.codeprocessor=tangentz.TZTester