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/python | |
#coding:utf-8 | |
#python version: 2.7 | |
import sys | |
import os | |
from datetime import datetime as dt | |
import time | |
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<stack> | |
using namespace std; | |
bool check(char a,stack<char> &v) | |
{ | |
//继续输出,返回true | |
//栈里只有A或B | |
bool ret = true; | |
if(!v.empty()) |
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> | |
using namespace std; | |
#define MAX_N 1000 | |
#define MAX_I 6 | |
int G[MAX_I][MAX_I]={ | |
{MAX_N,6,1,5,MAX_N,MAX_N}, | |
{6,MAX_N,5,MAX_N,3,MAX_N}, | |
{1,5,MAX_N,5,6,4}, | |
{5,MAX_N,5,MAX_N,MAX_N,2}, |
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
/* | |
(server) $ epoll_server 8888 | |
(client) $ telnet host 8888 | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<unistd.h> | |
#include<errno.h> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>get</title> | |
<script type="text/javascript"> | |
function checkRefresh() | |
{ | |
if( document.refreshForm.visited.value == "" ) | |
{ | |
document.refreshForm.visited.value = "1"; |
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
#coding:utf-8 | |
import re | |
import urllib2 | |
import urllib | |
import datetime | |
import socket | |
import os | |
from threading import Thread |
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
134,ABT | |
34,阿尔法罗密欧 | |
35,阿斯顿·马丁 | |
221,安凯客车 | |
33,奥迪 | |
180,BAC | |
231,Borgward | |
140,巴博斯 | |
120,宝骏 | |
15,宝马 |