码迷,mamicode.com
首页 >  
搜索关键字:result source    ( 27559个结果
24点 C/C++代码
#include#include#includeusing namespace std;const double PRECISION = 1E-6;const int COUNT = 4;const int RESULT = 24;double number[COUNT]; //这里一定要用...
分类:编程语言   时间:2014-05-16 07:12:29    阅读次数:350
pdu(No.1004)
注意是>=//#define LOCAL#include#include#include#include#includeusing namespace std;int T,maxx;std::map word_count;std::map::iterator be,ed,result;string ...
分类:其他好文   时间:2014-05-16 05:20:32    阅读次数:294
开源项目管理软件产品对比分析资料整理
目录商业协作和项目管理平台 TeamLab(GPL v3)基于Web的项目计划管理系统 NavalPlan(AGPL)项目管理工具 DotProject(GPL)项目管理系统 Collabtive(Open Source (GPL))项目管理和缺陷跟踪工具 Redmine(GPL licence)通...
分类:其他好文   时间:2014-05-15 16:48:57    阅读次数:624
Leetcode 树 Binary Tree Level Order Traversal
题意:给定一棵二叉树,返回按层遍历的结果 思路1:bfs,定义一个新的struct,记录指针向节点的指针和每个节点所在的层 复杂度1:时间O(n),空间O(n) 思路2:dfs 递归函数: void levelOrder(TreeNode *root, int level, vector<vector >&result) 表示把根为root的树按层存放在result中,其中level表示当前的层数 复杂度2:时间O(n),空间O(n) 相关题目:...
分类:其他好文   时间:2014-05-15 14:46:06    阅读次数:355
STL算法 — copy
为了效率,copy算法可谓无所不用其极,通过分析copy算法能够体会STL的精妙。 首先是三个对外接口: template // 泛化版本 inline OutputIterator copy(InputIterator first, InputIterator last, OutputIterator result) { ...
分类:其他好文   时间:2014-05-15 05:50:02    阅读次数:315
source insight实用技巧
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier 2   document options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
分类:其他好文   时间:2014-05-15 04:33:36    阅读次数:330
向linux内核添加系统调用新老内核比较
2.6内核 1>修改linux-source-2.6.31/kernel/sys.c文件,在文件末尾添加系统响应函数。函数实现如下: asmlinkage int sys_mycall(int number)   {     printk("这是我添加的第一个系统调用");     return number;  } 2>在linux-source-2.6.31...
分类:系统相关   时间:2014-05-15 02:51:56    阅读次数:382
0A01-APP-Text-to-Speech
描述把文本读出的API,在手机上测试知识支持英文,中文库应该没有所以不支持 /* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
分类:移动开发   时间:2014-05-14 21:34:49    阅读次数:435
Sublime Text 3 c++编译环境配置
{ "cmd":["g++","${file}","-o","${file_path}/${file_base_name}"], "file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:?(.*)$", "working_dir":"${file_path}", "selector":"source.c,source.c++", "encoding":"cp936", "variants": [ { "name":"Run", "shell":true, "cmd":["st..
分类:编程语言   时间:2014-05-14 17:25:25    阅读次数:300
随笔 : Do you remember Turbo Basic?
老爷子心不老, 依然在勤勤恳恳地敲着书和代码...没错, 就是source code. 像老爷子这样的老一辈会用电脑的都不多, 而我亲爱的老爷子那是会Turbo Basic的顶尖高手啊...每次想到这个, 内心都倍感自豪... 当年的"窗口"编程极其繁琐, 如果不看看那一套, 再加上个, 都不保证能...
分类:其他好文   时间:2014-05-14 13:38:42    阅读次数:327
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!