码迷,mamicode.com
首页 > 其他好文
CDZSC_2015寒假新人(4)——搜索 G
Time Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示...
分类:其他好文   时间:2015-01-27 21:48:22    阅读次数:232
杭电2019
#include #include #include #include #include #include #include #include using namespace std;int main(){ list a; int n,m,t; while(cin >> n >> ...
分类:其他好文   时间:2015-01-27 21:46:57    阅读次数:189
通过Intent播放音频
1 Intent intent = new Intent(Intent.ACTION_GET_CONTENT);2 intent.setType("audio/*");3 startActivity(Intent.createChooser(intent, "Select music"));
分类:其他好文   时间:2015-01-27 21:45:50    阅读次数:143
简易的打字母游戏
import javax.swing.JFrame;import javax.swing.JPanel;import java.awt.Graphics;import java.awt.Color;import java.awt.Font;import java.awt.event.KeyListe...
分类:其他好文   时间:2015-01-27 21:44:50    阅读次数:243
USACO Ski Course Design 暴力
从Min到Max范围内暴力一下即可。/*ID: wushuai2PROG: skidesignLANG: C++*///#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #i...
分类:其他好文   时间:2015-01-27 21:45:46    阅读次数:270
CDZSC_2015寒假新人(4)——搜索 N
Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uDescriptionStandard web browsers contain features to move backward and forward among...
分类:其他好文   时间:2015-01-27 21:46:04    阅读次数:184
overflow
语法:overflow : visible | auto | hidden | scroll 取值:visible : 默认值。不剪切内容也不添加滚动条。假如显式声明此默认值,对象将以包含对象的 window 或 frame 的尺寸裁切。并且 clip 属性设置将失效auto : 在必需时对象内容才...
分类:其他好文   时间:2015-01-27 21:45:04    阅读次数:171
面向对象3大特性的简单理解
封装,继承,多态1.封装: 类的内部结构不会被随意破坏,而且外部在调用时不需要了解内部结构, 只需要了解使用接口就可以了。 如:private int age;//外部无法直接访问 //但能通过方法来访问,并且还能增加一些逻辑判断 public void get...
分类:其他好文   时间:2015-01-27 21:43:31    阅读次数:162
hdu 1175 连连看 DFS
连连看Time Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21317Accepted Submission(s): 5296Problem Desc...
分类:其他好文   时间:2015-01-27 21:44:00    阅读次数:487
拖拽的增强版本
最近玩了很多 塔防游戏,发现3d 塔防的拖拽 做的都不是 那么自然。所以我做了一个比较完善的拖拽这个是手机上拍的。这个拖拽的优势是1 场景拖拽 会 平滑缓动的 平移 并且手一松 也会根据 速度的 大小 来平滑一点距离2 选择拖动的 物体 也是 平滑的移动, 并且 下面有一个 影子,你不需要 关心物体...
分类:其他好文   时间:2015-01-27 21:44:51    阅读次数:167
CDZSC_2015寒假新人(4)——搜索 C
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThere is a strange lift.The lift can stop can at every floor as you want,...
分类:其他好文   时间:2015-01-27 21:44:39    阅读次数:199
相对路径详解
小说 《射雕英雄传》 《长生剑》 相对index.html所有的目录而言:“../”表示上一级目录开始 (“../../”表示上上级目录)“./”表示当前同级目录开始(什么都不写也可以表示当前目录)“/”表示根目录开始。
分类:其他好文   时间:2015-01-27 21:44:08    阅读次数:199
CDZSC_2015寒假新人(4)——搜索 B
DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a...
分类:其他好文   时间:2015-01-27 21:43:01    阅读次数:170
TJU Problem 1644 Reverse Text
注意: int N; cin >> N; cin.ignore(); 同于 int N;scanf("%d\n",&N);另:关于 cin 与 scanf:scanf是格式化输入,printf是格式化输出。cin是输入流,cout是输出流。效率稍低,但书写简便。格式化输出效率比较高,但是写代码...
分类:其他好文   时间:2015-01-27 21:44:24    阅读次数:176
[kuangbin带你飞]专题一 简单搜索 - E - Find The Multiple
1 //Memory Time 2 //2236K 32MS 3 4 #include 5 using namespace std; 6 7 int mod[524286]; //保存每次mod n的余数 8 //由于198的余数序列是最长的 9 ...
分类:其他好文   时间:2015-01-27 21:43:03    阅读次数:179
BZOJ2286 [Sdoi2011消耗战
一眼,这不是裸树形dp嘛~一阵猛敲,敲完发现多组询问。。。额,不会了。。。围观hzwer,发现这就是虚树嘛!咦、等等,虚树是什么?就是个神奇的东西啦!构建虚树及dp的复杂度都是O(k * 2)级别的,由于Σki 11 #include 12 13 using namespace std; 1...
分类:其他好文   时间:2015-01-27 21:42:42    阅读次数:151
工具网址收藏
Notepad++ 功能大全啊:http://www.crifan.com/files/doc/docbook/rec_soft_npp/release/htmls/index.html
分类:其他好文   时间:2015-01-27 21:39:53    阅读次数:117
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!