- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 python成三棋源代码
成三棋,共有九个格子。横三,纵三。人和电脑每人走一步来。三个子能成一条直线者胜。下面的AI有点问题,看你能不能发现。 # Tic Tac Toe import random def drawBoard(board): # This function prints out the board that it was passed. # "board" is a l
2012-09-19 23:12:35 3606
原创 python猜数字源代码
''' Created on 2012-9-11 @author: yuafengyun ''' import random if __name__ == '__main__': print "hello! What's your name?" yourname = raw_input(); print "Nice to meet you ." + your
2012-09-11 23:48:36 1351
原创 Internet时间同步服务器实现
时间服务是即是网络对时,由服务器将准确时间传给客户端,常用的有以下四种。 时间协议 方式 相关标准 数据格式 通信端口 时间协议(Time Protocol) RFC868 4字节,距离标准时间的秒数 TCP:37 UDP:37 日期时间协议(Daytime Protocol) RFC867 提供UTC日期和时间等参数的ASCII码字符
2012-09-09 21:55:21 808
GNU的自平衡二叉查找树(AVL tree、redblack tree等)源代码
2012-03-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人