帮助

内容读取中…

内容读取中…

首页  |  相册  |  共享  |  群组
搜索

博客文章

Coming soon ...

1. Cross-compiling issues on uClibc;
2. Porting Linux applications from glibc to uClibc.

Causes of segfault

A few causes of segmentation fault can be summarized as follows, attempt to execute a program that does not compile correctly. Note that most compilers will not output a binary given a compile-time error.buffer overrunsusing uninitialized pointersdereferen

new day, new life

English as working language, Orz!

胡言乱语

    转眼间已闲置约70天,当初退出那份工作的勇气,已经成为回忆。无论如何,我坚信自己的选择是正确的,现在需要的是准备,为新的机会。
    三年间一直从事所谓研究工作,其实也就是预研工作,主要是软件原型产品开发方面。这是一个基本能接触到软件生命周期所有过程的机会,也是一个能自我发现的工作。因为工作机会,总是能够接触一些设计、代码优化的工作。在Google的帮助下,有着众多网友的推荐,我觊觎某个机会一睹大师手笔。Programming Pearls,Design Patterns(GoF),代码经验与设计

Find the number with odd number of occurrences, within O(n) time and O(1) additional space

Problem: You are given an array of n integers.  All the integers occur even number of times except one. Find this integer with O(n) time and O(1) additional space. Solution: Due to the time and space required, it's not poss

小孩不笨2

    路人母亲:“你为什么把苹果丢掉?”
    路人小孩:“因为苹果烂了。”
    路人母亲:“烂的,你可以把它(烂掉的部分)切掉,它还是一个好苹果嘛。你把它丢掉就没有了!”
    符老师:“你看,丢掉,就完了。”
    校长, ……

    对白已经很简单了,放在电影《

Find the maximum sum in any contiguous subvector

Input:  A vector x of n floating-point numbers.
Output: The maximum sum in any contiguous sub-vector of the input.
For instance, if the input vector contains these eleven elements
[17, -39, 11, 75, 34, -52, 78, 90, -95, -26, 83]

[C++]About member access control

A member of a class can be
— private; that is, its name can be used only by members and friends of the class in which it is declared.
— protected; that is, its name can be used only

-·· ·- ·-· -·- -··· ·-·· ··- ·

My ID, encoded  as Morse Code

一个最小值问题

题:x>0,y>0,且x+2y=1,求u=1/x+1/y的最小值。
    俺们号称还是学过高数的,x用y表示后,立即求y,使得取u'=0,叭啦叭啦一堆算式得u最小值。好累!
    可是我家领导说既然x+2y=1,那么u=3+(2y/x+x/y),中学数学内容!没办法,我家领导是专业人士,服!


个人档案

内容读取中…

博客公告

内容读取中…

博客日历

内容读取中…

文章分类

内容读取中…

文章存档

    内容读取中…

最新发表

    内容读取中…

最新评论

内容读取中…

给博主留言

内容读取中…

博主好友

内容读取中…

最新访客

内容读取中…

博客统计

    内容读取中…

友情链接

新闻订阅