Created
June 23, 2017 08:16
-
-
Save bjin/4c8091f0b8635fc4efa4d4a28bd64182 to your computer and use it in GitHub Desktop.
moj templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// {{{ | |
#include <algorithm> | |
#include <bitset> | |
#include <cassert> | |
#include <cctype> | |
#include <climits> | |
#include <cmath> | |
#include <complex> | |
#include <cstdint> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <ctime> | |
#include <deque> | |
#include <functional> | |
#include <iomanip> | |
#include <iostream> | |
#include <iterator> | |
#include <list> | |
#include <map> | |
#include <numeric> | |
#include <queue> | |
#include <set> | |
#include <sstream> | |
#include <stack> | |
#include <unordered_map> | |
#include <unordered_set> | |
#include <utility> | |
#include <vector> | |
// }}} | |
using namespace std; | |
struct $CLASSNAME$ { | |
$RC$ $METHODNAME$($METHODPARMS$); | |
}; | |
$RC$ $CLASSNAME$::$METHODNAME$($METHODPARMS$) { | |
} | |
$BEGINCUT$ | |
// {{{ | |
$TESTCODE$ | |
$DEFAULTMAIN$ | |
// }}} | |
$ENDCUT$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.*; | |
import java.util.*; | |
import java.io.*; | |
public class $CLASSNAME$ { | |
public $RC$ $METHODNAME$($METHODPARMS$) { | |
} | |
void debug(Object...os) { | |
System.out.println(Arrays.deepToString(os)); | |
} | |
$BEGINCUT$ | |
// {{{ | |
$DEFAULTMAIN$ | |
// }}} | |
$ENDCUT$ | |
} | |
$BEGINCUT$ | |
// {{{ | |
$TESTCODE$ | |
// }}} | |
$ENDCUT$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment