加载中
JAVA常用设计模式(一、单例模式、工厂模式)

JAVA设计模式之单例模式 import java.util.HashMap; import java.util.Map; /** * 设计模式之单例模式 * 单例模式(Singleton Pattern)是 Java 中最简单的设计模式之一。这种类型的...

2018/07/31 23:11
69
【文件I/O】——read & write

read 所需头文件 #include <unistd.h> 函数原型 ssize_t read(int fd, void *buf, size_t count); 1. read 函数从文件描述符(fd)所指代的已打开的文件中的当前偏移量处读取数据,一次最多读...

2018/07/31 22:45
73
ACM-ICPC 2017 Asia Urumqi A. Coins

Alice and Bob are playing a simple game. They line up a row of n identical coins, all with the heads facing down onto the table and the tails upward. For exactly mm times they s...

2018/07/31 18:45
90
数学工具(三)scipy中的优化方法

给定一个多维函数,如何求解全局最优? 文章包括: 1.全局最优的求解:暴力方法 2.全局最优的求解:fmin函数 3.凸优化 函数的曲面图 import numpy as np import matplotlib.pyplot as plt i...

2018/07/31 18:43
175
fastDFS图片上传下载

java文件 js // 上传合同fastfds   //var fileUrl = $('#fileUrl').val();   addUpload($('#path'));   function addUpload(fileInput){     $(fileInput).fileupload({ url: '...

2018/07/31 18:37
75

没有更多内容

加载失败,请刷新页面

返回顶部
顶部