这一个多星期以来只学会了建立按钮,设置背景,添加动画三个操作,涉及算法跟一些函数调用的代码都不是很懂,然后勉强制作出了下面这个坑爹版“五音十图”,实现的功能相当寒酸:1、单击【practice】出来动画 。2、单击【back】跳到第二个页面 3、点【pronounce】发出声音 4、清除当前显示的字...
分类:
其他好文 时间:
2014-07-18 23:37:03
阅读次数:
305
UVA - 10895
Matrix Transpose
Time Limit:3000MS
Memory Limit:Unknown
64bit IO Format:%lld & %llu
[Submit] [Go Back] [Status]
Description
A: Matrix Transp...
分类:
其他好文 时间:
2014-07-18 23:00:14
阅读次数:
241
Counting
The Problem
Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn't realize yet tha...
分类:
其他好文 时间:
2014-07-18 22:04:36
阅读次数:
322
先来看段儿代码: protected void Page_Load(object sender, EventArgs e){#if DEBUG Response.Write("Debug Information! ");#endif Response.Write("Normal Informatio...
分类:
其他好文 时间:
2014-07-18 21:10:56
阅读次数:
140
这个就不说了就是一个类 public static class EncryptionConfig { /* 加密配置节点 * Response.Write(EncryptionConfig.Encryption("connectionStrings"))...
分类:
其他好文 时间:
2014-07-18 16:35:37
阅读次数:
193
#define EV_TIMER_RESOLUTION 1 /* 1 msec */#define EV_READ_EVENT EPOLLIN#define EV_WRITE_EVENT EPOLLOUTstruct ev_event;struct ev_timer;typedef void ...
分类:
其他好文 时间:
2014-07-17 22:37:16
阅读次数:
276
问题
方法的思想
The idea is to check elements in a way that’s reminiscent of movements of a caterpillar.
The caterpillar crawls through the array. We remember the front and back positions of the
caterp...
分类:
其他好文 时间:
2014-07-17 19:22:33
阅读次数:
322
读写分离(Read/Write Splitting)。1.原理:让主数据库处理事务性增、改、删操作(INSERT、UPDATE、DELETE),而从数据库处理SELECT查询操作。2.诞生原因:2.1 为了确保数据库产品的稳定性,很多数据库拥有双机热备功能。也就是,第一台数据库服务器,是对外提供增删...
分类:
数据库 时间:
2014-07-17 14:24:57
阅读次数:
264
/** * 菜单、返回键响应 */ @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { exitBy2Click();// 调用...
分类:
移动开发 时间:
2014-07-17 13:11:09
阅读次数:
197
点击外部消失,只需要设置popupWindow.setBackgroundDrawable(new PaintDrawable());设置popupWindow.setFocusable(true); //popupWindow.setBackgroundDrawable(new PaintDra....
分类:
移动开发 时间:
2014-07-16 12:34:06
阅读次数:
808