一、什么是计算机 基于百度百科 1.简介 计算机(computer)俗称电脑,是现代一种用于高速计算的电子计算机器,可以进行数值计算,又可以进行逻辑计算,还具有存储记忆功能。是能够按照程序运行,自动、高速处理海量数据的现代化智能电子设备。 2.组成 计算机是由硬件系统(hardware system ...
分类:
编程语言 时间:
2017-05-12 01:41:56
阅读次数:
259
public class TestUSB {public static void main(String[] args) { computer m=new computer(); m.dowork(new Flash()); phone p=new phone(); m.dowork(p); //实 ...
分类:
其他好文 时间:
2017-05-12 01:39:23
阅读次数:
159
新建一个 ashx 一般处理程序 如: YZM.ashx继承接口 IRequiresSessionState //在一般处理程序里面继承 HttpContext context 为请求上下文,包含此次请求处理要使用到的信息和对象都在里面,有Response,有Request 下面为 YZM.ashx ...
分类:
其他好文 时间:
2017-05-11 22:20:46
阅读次数:
280
传送门 题意 给出一棵树,求离每个节点最远的点的距离 思路 对于我这种菜鸡,真是难啊。 我们能够很简单的求出每个点到以它为根的子树的最远点的距离,dfs 即可。 设 f[i][0] 表示点 i 到以它为根的子树的最远点的距离 f[i][1] 表示点 i 到以它为根的子树的次远点的距离(一会会用到) ...
分类:
其他好文 时间:
2017-05-11 11:30:48
阅读次数:
242
之前先后发表过:《Winform应用程序实现通用遮罩层》、《Winform应用程序实现通用消息窗口》,这两款遮罩层其实都是基于弹出窗口的,今天为大家分享一个比较简单但界面相对友好的另一种实现方案,废话不多说,直接进入主题。 一、实现思路(解决问题顺序): 透明遮罩: 1.实现可设置透明的Panel控 ...
Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question, "Can you propose an ...
分类:
其他好文 时间:
2017-05-10 14:55:51
阅读次数:
231
可以确定是nvidia显卡的问题,详细的解决方案请参见:这里 临时的解决方案: compize --replace 永久性的解决方案: sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update sudo apt install ...
分类:
系统相关 时间:
2017-05-09 19:36:31
阅读次数:
310
#include<stdio.h> #include<stdlib.h> #include<graphics.h> #include<math.h> void MidBrehansemCircle(int x, int y, int radius); int main() { int gdriver ...
分类:
编程语言 时间:
2017-05-08 10:07:50
阅读次数:
293
#include<stdio.h> #include<stdlib.h> #include"graphics.h" //函数声明 void MidBrehansem(int x0, int y0, int x1, int y1); //中点MidBrehansem算法 void swap(int & ...
分类:
编程语言 时间:
2017-05-08 09:58:05
阅读次数:
292
After you had helped George and Alex to move in the dorm, they went to help their friend Fedor play a new computer game «Call of Soldiers 3». The game ...
分类:
其他好文 时间:
2017-05-08 09:57:04
阅读次数:
198