码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
HackerRank - Cipher
A coding problem. The trick is, some part of computation can be reused from last iteration. Check out my code:#include #include #include #include #inc...
分类:其他好文   时间:2015-04-16 14:07:29    阅读次数:170
UVA213 Message Descoding
#include #include char code[8][1 >k) &&k== '\n'); // 空行重读 if (k == -1) k = 0; else gets(s + 1); s[0] = k; return strlen(s);}voi...
分类:其他好文   时间:2015-04-16 13:56:45    阅读次数:94
Subsets
这道题虽然不用到helper,但是却是那一路的参考code 包括有helper的http://blog.csdn.net/linhuanmars/article/details/24286377public class Solution { public ArrayList> subsets(...
分类:其他好文   时间:2015-04-16 13:44:43    阅读次数:119
Get a snapshot by using phantomJS
Here is the source code about obtain a snapshot of a website by using phantomJS. var webPage = require("webpage"), address, filename, height, width; // generate webPage object var page = webPage.crea...
分类:Web程序   时间:2015-04-16 12:33:11    阅读次数:152
Android UndoBar介绍
Android的UndoBar介绍com.cocosw>>undobar所属类别:android开发UndoBar描述:UndoBar是一个基于RomanNurik的被用于Gmailapp的Android高级UIundo-bar控件(https://code.google.com/p/romannurik-code/)。经过修改可支持兼容Android2.x并更易于使用。UndoBar支持可定制的属..
分类:移动开发   时间:2015-04-16 10:35:55    阅读次数:234
处理三维数组,重新组合
0x01三维数组中,选取其中的数据,重新组合 摘自SF上 记录下Code:-------$item) { $result[] = array($k=>$item); } foreach ($data as $k => $v) { $result2 = []; ...
分类:编程语言   时间:2015-04-16 10:18:13    阅读次数:109
Remove Element
题目链接https://leetcode.com/problems/remove-element/这道题比较简单,为了维护这个leetcode系列的完整性,我依然把它加在这里,code如下class Solution {public: int removeElement(int A[], in...
分类:其他好文   时间:2015-04-16 06:42:02    阅读次数:109
unity, 查看内置shader源码
1,建一个球体。2,建一个材质,将材质拖到球体上。3,在材质的shader下拉列表中选择想查看的内置shader,点材质栏右上设置按钮->Select Shader 进入shader面板。4,点Compile and show code查看shader代码。(在此之前可点按钮右边箭头在弹出的下拉菜单...
分类:编程语言   时间:2015-04-16 01:09:38    阅读次数:598
Error Code: 1360 - Trigger does not existQuery
1、错误描述 Query: DROP TRIGGER `t_sert_cs_approve` Error occured at:2015-04-12 13:37:32 Line no.:1 Error Code: 1360 - Trigger does not existQuery: ALTER TABLE `t_toot_erth_ssess` MODIFY COLUMN `id` int...
分类:其他好文   时间:2015-04-15 23:22:23    阅读次数:470
Java实验报告一
一、 实验内容1. 使用JDK编译、运行简单的Java程序2.使用Eclipse 编辑、编译、运行、调试Java程序二、 实验步骤【实验一】命令行下java程序的开发首先双击桌面上的Xface终端图标。打开终端(类似Windows下的cmd),之后会自动运行shell程序。输入cd Code命令进入...
分类:编程语言   时间:2015-04-15 22:43:24    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!