实验十三 图形界面事件处理技术 实验时间 2018-11-22 1、实验目的与要求 (1) 掌握事件处理的基本原理,理解其用途; (2) 掌握AWT事件模型的工作机制; (3) 掌握事件处理的基本编程模型; (4) 了解GUI界面组件观感设置方法; (5) 掌握WindowAdapter类、Abst ...
分类:
编程语言 时间:
2018-11-25 20:22:22
阅读次数:
140
简单词汇 1. chair [t?e?(r)] n. 椅子 chair = ch + air拼读的时候ch发音以及air发音 [ ] sit on a chair 坐在椅子上 [ ] a table and chairs 一套桌椅 2. baby [?be?bi] n. 婴儿 baby = ba + ...
分类:
其他好文 时间:
2018-11-24 18:56:35
阅读次数:
232
一个非常简单,但是实用的协程实现,使用Windows的 函数族(linux可以稍微改一下用 函数族)。 fco.h fco.cpp example + hello world cpp include include include include include "fco.h" void bar(f ...
反正肯定要建虚树,考虑建完之后怎么做 先随便dp一下算出来距离某点最近的询问点mi[x](因为有的虚树上的点它不是询问点嘛) 那我们对于某条链x到fa[x]上的非虚树上的点(包括他们的非虚树上的孩子),要么把它分给mi[x],要么分给mi[fa[x]] 我找到这个中间点以后,在原树上倍增跳过去,算他 ...
分类:
其他好文 时间:
2018-11-21 22:25:54
阅读次数:
258
远程自动气隙安全」技术,缩写为「RAAS」——允许任何人使用移动电话或是固定电话随时随地存取自己的数据。远程自动气隙安全技术走向未来对于处理网络上的数据而言,远程可存取的气隙技术是真正的转型。不管你是否认同,任何连接到网络上的东西都可能被******,加密货币也不例外。当然,******并不是总会变成令人棘手的问题。在此,我们将会探索一项全新的「气隙技术(Air Gap)」,看看它会如何保护加密货币资产安全。
分类:
其他好文 时间:
2018-11-21 21:08:08
阅读次数:
150
题意与分析 题意是这样的:给你一个$N\times M$的图,其中有一些点不能放置$1\times 2$大小的矩形,矩形可以横着放可以竖着放,问剩下的格子中,最多能够放多少个矩形。 注意到是$1\times 2$的矩形,所以是一个$i+j$和为奇数的可以与$i+j$为偶数的相连。抽象坐标和分别为奇数 ...
分类:
其他好文 时间:
2018-11-18 19:31:16
阅读次数:
215
这道题,折磨了我一个多小时,前前后后写了三个算法。 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest dist ...
分类:
其他好文 时间:
2018-11-18 12:33:04
阅读次数:
225
Codefroces1077F2. Pictures with Kittens (hard version) 做法:裸的单调队列优化dp c++ include define P pair define fr first define sc second typedef long long ll; ...
分类:
其他好文 时间:
2018-11-17 10:32:59
阅读次数:
261
Design a HashMap without using any built-in hash table libraries. To be specific, your design should include these functions: put(key, value) : Insert ...
分类:
其他好文 时间:
2018-11-17 10:31:39
阅读次数:
293
Problem Description On the way to school, Karen became fixated on the puzzle game on her phone! The game is played as follows. In each level, you have ...
分类:
其他好文 时间:
2018-11-16 00:26:43
阅读次数:
193