Browse files

More updates

  • Loading branch information...
1 parent 090fc32 commit 4b10175318a1ef76b1c56f717a64878a4703c179 @SITZ committed Sep 17, 2012
Showing with 14 additions and 12 deletions.
  1. +3 −1 .gitconfig
  2. +11 −11 contestapplet.conf
View
4 .gitconfig
@@ -2,6 +2,8 @@
name = Sitesh Shrivastava
email = siteshshrivastava@gmail.com
[credential]
- helper = cache --timeout=3600
+ helper = cache
[core]
excludesfile = /home/sitesh/.global_ignore
+[color]
+ ui = true
View
22 contestapplet.conf
@@ -1,5 +1,5 @@
#TopCoder ContestApplet Preferences File
-#Thu Sep 06 17:22:53 IST 2012
+#Fri Sep 14 14:31:47 IST 2012
com.topcoder.client.contestApplet.common.LocalPreferences.menufont=Monospaced
com.topcoder.client.contestApplet.common.LocalPreferences.menufontsize=12
com.topcoder.client.contestApplet.common.LocalPreferences.commonclasspath=
@@ -141,7 +141,7 @@ com.topcoder.client.contestApplet.common.LocalPreferences.edstdsyntaxkeywordssty
com.topcoder.client.contestApplet.common.LocalPreferences.edstdsyntaxdefaultstyle=0
com.topcoder.client.contestApplet.common.LocalPreferences.edstdsyntaxhighlight=true
com.topcoder.client.contestApplet.common.LocalPreferences.chalsrcsyntaxhighlight=true
-com.topcoder.client.contestApplet.LocalPreferences.connectionType=TNCHUNKED
+com.topcoder.client.contestApplet.LocalPreferences.connectionType=TCHUNKED
com.topcoder.client.contestApplet.panels.ChatPanel.generalback=-16777216
com.topcoder.client.contestApplet.panels.ChatPanel.whispertoback=-65536
com.topcoder.client.contestApplet.panels.ChatPanel.meback=-16777216
@@ -162,16 +162,16 @@ com.topcoder.client.contentApplet.panels.ChatPanel.moderatedChatSpeakerFore=-1
com.topcoder.client.contentApplet.panels.ChatPanel.moderatedChatSpeakerBack=-16777216
com.topcoder.client.contentApplet.panels.ChatPanel.moderatedChatQuestionBack=-16777216
com.topcoder.jmaContestApplet.ContestApplet.disableEnterExitMsgs=true
-com.topcoder.jmaContestApplet.frames.codingframe.location=0\:27
-com.topcoder.jmaContestApplet.frames.codingframe.size=1366\:741
-com.topcoder.jmaContestApplet.frames.codingframe.dividerloc=378
-com.topcoder.jmaContestApplet.frames.sourceViewer.location=963\:113
-com.topcoder.jmaContestApplet.frames.sourceViewer.size=958\:997
+com.topcoder.jmaContestApplet.frames.codingframe.location=683\:23
+com.topcoder.jmaContestApplet.frames.codingframe.size=685\:747
+com.topcoder.jmaContestApplet.frames.codingframe.dividerloc=406
+com.topcoder.jmaContestApplet.frames.sourceViewer.location=0\:24
+com.topcoder.jmaContestApplet.frames.sourceViewer.size=1920\:1056
com.topcoder.jmaContestApplet.frames.sourceViewer.dividerloc=58
com.topcoder.jmaContesntApplet.ContestApplet.enableTimestamps=true
codeprocessor.config.pluginentrypoint=fileedit.EntryPoint
codeprocessor.config.codeprocessor=tc_plugin.ExampleBuilder
-fileeditor.config.dirName=/home/sitesh/Documents/IdeaProjects/Topcoder/src
+fileeditor.config.dirName=/home/sitesh/Documents/Code/Topcoder
fileeditor.config.fileName=problem
fileeditor.config.beginCut=// BEGIN CUT HERE
fileeditor.config.endCut=// END CUT HERE
@@ -185,14 +185,14 @@ fileeditor.config.breakAt=60
fileeditor.config.htmldesc=false
fileeditor.config.backup=false
fileeditor.config.javatemplate=import java.util.*;\n\npublic class $CLASSNAME$ {\n public $RC$ $METHODNAME$($METHODPARMS$) {\n $RC$ res;\n return res;\n }\n$WRITERCODE$\n$BEGINCUT$\n public static void main(String[] args) {\n try {\n$MAINBODY$\n } catch( Exception exx) {\n System.err.println(exx);\n exx.printStackTrace(System.err);\n }\n }\n private static void eq( int n, int a, int b ) {\n if ( a\=\=b )\n System.err.println("Case "+n+" passed.");\n else\n System.err.println("Case "+n+" failed\: expected "+b+", received "+a+".");\n }\n private static void eq( int n, char a, char b ) {\n if ( a\=\=b )\n System.err.println("Case "+n+" passed.");\n else\n System.err.println("Case "+n+" failed\: expected '"+b+"', received '"+a+"'.");\n }\n private static void eq( int n, long a, long b ) {\n if ( a\=\=b )\n System.err.println("Case "+n+" passed.");\n else\n System.err.println("Case "+n+" failed\: expected \\""+b+"L, received "+a+"L.");\n }\n private static void eq( int n, boolean a, boolean b ) {\n if ( a\=\=b )\n System.err.println("Case "+n+" passed.");\n else\n System.err.println("Case "+n+" failed\: expected "+b+", received "+a+".");\n }\n private static void eq( int n, String a, String b ) {\n if ( a \!\= null && a.equals(b) )\n System.err.println("Case "+n+" passed.");\n else\n System.err.println("Case "+n+" failed\: expected \\""+b+"\\", received \\""+a+"\\".");\n }\n private static void eq( int n, int[] a, int[] b ) {\n if ( a.length \!\= b.length ) {\n System.err.println("Case "+n+" failed\: returned "+a.length+" elements; expected "+b.length+" elements.");\n return;\n }\n for ( int i\= 0; i < a.length; i++)\n if ( a[i] \!\= b[i] ) {\n System.err.println("Case "+n+" failed. Expected and returned array differ in position "+i);\n print( b );\n print( a );\n return;\n }\n System.err.println("Case "+n+" passed.");\n }\n private static void eq( int n, long[] a, long[] b ) {\n if ( a.length \!\= b.length ) {\n System.err.println("Case "+n+" failed\: returned "+a.length+" elements; expected "+b.length+" elements.");\n return;\n }\n for ( int i\= 0; i < a.length; i++ )\n if ( a[i] \!\= b[i] ) {\n System.err.println("Case "+n+" failed. Expected and returned array differ in position "+i);\n print( b );\n print( a );\n return;\n }\n System.err.println("Case "+n+" passed.");\n }\n private static void eq( int n, String[] a, String[] b ) {\n if ( a.length \!\= b.length) {\n System.err.println("Case "+n+" failed\: returned "+a.length+" elements; expected "+b.length+" elements.");\n return;\n }\n for ( int i\= 0; i < a.length; i++ )\n if( \!a[i].equals( b[i])) {\n System.err.println("Case "+n+" failed. Expected and returned array differ in position "+i);\n print( b );\n print( a );\n return;\n }\n System.err.println("Case "+n+" passed.");\n }\n private static void print( int a ) {\n System.err.print(a+" ");\n }\n private static void print( long a ) {\n System.err.print(a+"L ");\n }\n private static void print( String s ) {\n System.err.print("\\""+s+"\\" ");\n }\n private static void print( int[] rs ) {\n if ( rs \=\= null) return;\n System.err.print('{');\n for ( int i\= 0; i < rs.length; i++ ) {\n System.err.print(rs[i]);\n if ( i \!\= rs.length-1 )\n System.err.print(", ");\n }\n System.err.println('}');\n }\n private static void print( long[] rs) {\n if ( rs \=\= null ) return;\n System.err.print('{');\n for ( int i\= 0; i < rs.length; i++ ) {\n System.err.print(rs[i]);\n if ( i \!\= rs.length-1 )\n System.err.print(", ");\n }\n System.err.println('}');\n }\n private static void print( String[] rs ) {\n if ( rs \=\= null ) return;\n System.err.print('{');\n for ( int i\= 0; i < rs.length; i++ ) {\n System.err.print( "\\""+rs[i]+"\\"" );\n if( i \!\= rs.length-1)\n System.err.print(", ");\n }\n System.err.println('}');\n }\n private static void nl() {\n System.err.println();\n }\n$ENDCUT$\n}
-fileeditor.config.cpptemplate=\#include <algorithm>\n\#include <iostream>\n\#include <sstream>\n\#include <string>\n\#include <vector>\n\#include <queue>\n\#include <set>\n\#include <map>\n\#include <cstdio>\n\#include <cstdlib>\n\#include <cctype>\n\#include <cmath>\nusing namespace std;\n\n$BEGINCUT$\nvector<string> split( const string& s, const string& delim \=" " ) {\n vector<string> res;\n string t;\n for ( int i \= 0 ; i \!\= s.size() ; i++ ) {\n if ( delim.find( s[i] ) \!\= string\:\:npos ) {\n if ( \!t.empty() ) {\n res.push_back( t );\n t \= "";\n }\n } else {\n t +\= s[i];\n }\n }\n if ( \!t.empty() ) {\n res.push_back(t);\n }\n return res;\n}\n\nvector<int> splitInt( const string& s, const string& delim \=" " ) {\n vector<string> tok \= split( s, delim );\n vector<int> res;\n for ( int i \= 0 ; i \!\= tok.size(); i++ )\n res.push_back( atoi( tok[i].c_str() ) );\n return res;\n}\n\n\#define ARRSIZE(x) (sizeof(x)/sizeof(x[0]))\n\ntemplate<typename T> void print( T a ) {\n cerr << a;\n}\nstatic void print( long long a ) {\n cerr << a << "L";\n}\nstatic void print( string a ) {\n cerr << '"' << a << '"';\n}\ntemplate<typename T> void print( vector<T> a ) {\n cerr << "{";\n for ( int i \= 0 ; i \!\= a.size() ; i++ ) {\n if ( i \!\= 0 ) cerr << ", ";\n print( a[i] );\n }\n cerr << "}" << endl;\n}\ntemplate<typename T> void eq( int n, T have, T need ) {\n if ( have \=\= need ) {\n cerr << "Case " << n << " passed." << endl;\n } else {\n cerr << "Case " << n << " failed\: expected ";\n print( need );\n cerr << " received ";\n print( have );\n cerr << "." << endl;\n }\n}\ntemplate<typename T> void eq( int n, vector<T> have, vector<T> need ) {\n if( have.size() \!\= need.size() ) {\n cerr << "Case " << n << " failed\: returned " << have.size() << " elements; expected " << need.size() << " elements.";\n print( have );\n print( need );\n return;\n }\n for( int i\= 0; i < have.size(); i++ ) {\n if( have[i] \!\= need[i] ) {\n cerr << "Case " << n << " failed. Expected and returned array differ in position " << i << ".";\n print( have );\n print( need );\n return;\n }\n }\n cerr << "Case " << n << " passed." << endl;\n}\nstatic void eq( int n, string have, string need ) {\n if ( have \=\= need ) {\n cerr << "Case " << n << " passed." << endl;\n } else {\n cerr << "Case " << n << " failed\: expected ";\n print( need );\n cerr << " received ";\n print( have );\n cerr << "." << endl;\n }\n}\n$ENDCUT$\n\nclass $CLASSNAME$ {\npublic\:\n $RC$ $METHODNAME$($METHODPARMS$) {\n $RC$ res;\n return res;\n }\n$WRITERCODE$\n};\n\n$BEGINCUT$\nint main( int argc, char* argv[] ) {\n$MAINBODY$\nreturn 0;\n}\n$ENDCUT$
+fileeditor.config.cpptemplate=\#include <vector> \n\#include <list> \n\#include <map> \n\#include <set> \n\#include <deque> \n\#include <queue> \n\#include <stack> \n\#include <bitset> \n\#include <algorithm> \n\#include <functional> \n\#include <numeric> \n\#include <utility> \n\#include <sstream> \n\#include <iostream> \n\#include <iomanip> \n\#include <cstdio> \n\#include <cmath> \n\#include <cstdlib> \n\#include <cctype> \n\#include <string> \n\#include <cstring> \n\#include <cstdio> \n\#include <cmath> \n\#include <ctime> \n\#include <sstream> \nusing namespace std; \n \ntypedef long long int64; \ntypedef unsigned int uint; \ntypedef long double ldouble; \ntypedef unsigned long long uint64;\n\n$BEGINCUT$\nvector<string> split( const string& s, const string& delim \=" " ) {\n vector<string> res;\n string t;\n for ( int i \= 0 ; i \!\= s.size() ; i++ ) {\n if ( delim.find( s[i] ) \!\= string\:\:npos ) {\n if ( \!t.empty() ) {\n res.push_back( t );\n t \= "";\n }\n } else {\n t +\= s[i];\n }\n }\n if ( \!t.empty() ) {\n res.push_back(t);\n }\n return res;\n}\n\nvector<int> splitInt( const string& s, const string& delim \=" " ) {\n vector<string> tok \= split( s, delim );\n vector<int> res;\n for ( int i \= 0 ; i \!\= tok.size(); i++ )\n res.push_back( atoi( tok[i].c_str() ) );\n return res;\n}\n\n\#define ARRSIZE(x) (sizeof(x)/sizeof(x[0]))\n\ntemplate<typename T> void print( T a ) {\n cerr << a;\n}\nstatic void print( long long a ) {\n cerr << a << "L";\n}\nstatic void print( string a ) {\n cerr << '"' << a << '"';\n}\ntemplate<typename T> void print( vector<T> a ) {\n cerr << "{";\n for ( int i \= 0 ; i \!\= a.size() ; i++ ) {\n if ( i \!\= 0 ) cerr << ", ";\n print( a[i] );\n }\n cerr << "}" << endl;\n}\ntemplate<typename T> void eq( int n, T have, T need ) {\n if ( have \=\= need ) {\n cerr << "Case " << n << " passed." << endl;\n } else {\n cerr << "Case " << n << " failed\: expected ";\n print( need );\n cerr << " received ";\n print( have );\n cerr << "." << endl;\n }\n}\ntemplate<typename T> void eq( int n, vector<T> have, vector<T> need ) {\n if( have.size() \!\= need.size() ) {\n cerr << "Case " << n << " failed\: returned " << have.size() << " elements; expected " << need.size() << " elements.";\n print( have );\n print( need );\n return;\n }\n for( int i\= 0; i < have.size(); i++ ) {\n if( have[i] \!\= need[i] ) {\n cerr << "Case " << n << " failed. Expected and returned array differ in position " << i << ".";\n print( have );\n print( need );\n return;\n }\n }\n cerr << "Case " << n << " passed." << endl;\n}\nstatic void eq( int n, string have, string need ) {\n if ( have \=\= need ) {\n cerr << "Case " << n << " passed." << endl;\n } else {\n cerr << "Case " << n << " failed\: expected ";\n print( need );\n cerr << " received ";\n print( have );\n cerr << "." << endl;\n }\n}\n$ENDCUT$\n\nclass $CLASSNAME$ {\npublic\:\n $RC$ $METHODNAME$($METHODPARMS$) {\n $RC$ res;\n return res;\n }\n$WRITERCODE$\n};\n\n$BEGINCUT$\nint main( int argc, char* argv[] ) {\n$MAINBODY$\nreturn 0;\n}\n$ENDCUT$
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=ExampleBuilder
editor.1.name=ExampleBuilder
editor.1.entrypoint=codeprocessor.EntryPoint
-editor.1.classpath=/home/sitesh/Documents/IdeaProjects/Topcoder/jar/FileEdit.jar\:/home/sitesh/Documents/IdeaProjects/Topcoder/jar/ExampleBuilder.jar\:/home/sitesh/Documents/IdeaProjects/Topcoder/jar/CodeProcessor.jar
-editor.1.eager=0
+editor.1.classpath=/home/sitesh/Documents/Code/Topcoder/FileEdit.jar\:/home/sitesh/Documents/Code/Topcoder/ExampleBuilder.jar\:/home/sitesh/Documents/Code/Topcoder/CodeProcessor.jar
+editor.1.eager=1
editor.numplugins=1

0 comments on commit 4b10175

Please sign in to comment.