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
#!/usr/bin/env python | |
import time | |
import threading | |
import urllib | |
import httplib2 | |
import re | |
sum = 25000 | |
concurrent = 1000 |
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
--leak-check=full | |
--show-reachable=yes | |
--trace-children=yes | |
--track-fds=yes | |
--time-stamp=yes | |
--track-origins=yes | |
--dsymutil=yes | |
--smc-check=all | |
--read-var-info=yes | |
--show-emwarns=yes |
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 <iostream> | |
#include <string> | |
#include <algorithm> | |
using namespace std; | |
const int SIZE = 10010; | |
struct node // the node of line tree | |
{ | |
int i,j; // 区间范围 |
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 <deque> | |
#include <vector> | |
#include <iostream> | |
#include <string> | |
#include <algorithm> | |
using namespace std; | |
class DividedByZeroException{}; |
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
#ifndef BIGINT_H | |
#define BIGINT_H | |
#define BASE unsigned char | |
#define BASE2 unsigned short | |
const int yet=sizeof(BASE)*8; | |
const BASE2 pz=1<<yet; |
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
Dim objRoot, objDomain, objOU, objContainer | |
Dim strName | |
Dim intUser | |
Dim Password | |
Dim OUPrefix | |
Dim OU | |
Dim Inc | |
Inc = 1 | |
OUPrefix = "TMMS" | |
strName ="" |
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 "utf8.h" | |
inline static unsigned short xml_encode_iso_8859_1(unsigned char); | |
inline static char xml_decode_iso_8859_1(unsigned short); | |
inline static unsigned short xml_encode_us_ascii(unsigned char); | |
inline static char xml_decode_us_ascii(unsigned short); | |
static void *emalloc(size_t size) | |
{ | |
void *p = malloc(size); |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!DOCTYPE project> | |
<project name="income" default="usage" basedir="."> | |
<property name="project-name" value="income"/> | |
<property name="build" value="build"/> | |
<property name="lib" value="/usr/share/java/"/> | |
<property name="src" value="income/"/> |
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<stdio.h> | |
int gcd( long long int m , long long int n ) | |
{ | |
int t; | |
if ( m < n ) | |
{ | |
t = m; | |
m = n ; | |
n = t; |
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
C++ = g++ | |
ifndef os | |
os = LINUX | |
endif | |
SRC= $(shell ls *.cpp) | |
OBJS= $(SRC:%.cpp=%.o) | |
DIR = $(shell pwd) | |
Target=test | |
all: $(Target) |