摘要:
题目链接 每次路程改变只对前后两点间距离有影响,因此每次都判断当前三个点之间的距离之和与去掉中间点的距离哪个更优即可,最后取最大值作为结果输出。 #include<iostream> #include<cmath> using namespace std; const int N = 100010; 阅读全文
摘要:
这篇文章主要用来总结Java在网络编程中的知识点 下面是一个Java客户端与服务端通信的样例程序 //Server public class Server { public static void main(String[] args) throws IOException { ServerSock 阅读全文